A B C D E F G H I L M N O P Q R S T U V W

A

AbstractBatchDecoder - Class in com.alipay.remoting.codec
This class mainly hack the ByteToMessageDecoder to provide batch submission capability.
AbstractBatchDecoder() - Constructor for class com.alipay.remoting.codec.AbstractBatchDecoder
 
AbstractBatchDecoder.Cumulator - Interface in com.alipay.remoting.codec
Cumulate ByteBufs.
AbstractRemotingProcessor<T extends RemotingCommand> - Class in com.alipay.remoting
Processor to process remoting command.
AbstractRemotingProcessor() - Constructor for class com.alipay.remoting.AbstractRemotingProcessor
Default constructor.
AbstractRemotingProcessor(CommandFactory) - Constructor for class com.alipay.remoting.AbstractRemotingProcessor
Constructor.
AbstractRemotingProcessor(ExecutorService) - Constructor for class com.alipay.remoting.AbstractRemotingProcessor
Constructor.
AbstractRemotingProcessor(CommandFactory, ExecutorService) - Constructor for class com.alipay.remoting.AbstractRemotingProcessor
Constructor.
AbstractUserProcessor<T> - Class in com.alipay.remoting.rpc.protocol
Implements common function and provide default value.
AbstractUserProcessor() - Constructor for class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
 
actualReadableBytes() - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Returns the actual number of readable bytes in the internal cumulative buffer of this decoder.
add(Connection) - Method in interface com.alipay.remoting.ConnectionManager
Add a connection to ConnectionPool.
add(Connection, String) - Method in interface com.alipay.remoting.ConnectionManager
Add a connection to ConnectionPool with the specified poolKey.
add(Connection) - Method in class com.alipay.remoting.ConnectionPool
add a connection
add(Connection) - Method in class com.alipay.remoting.DefaultConnectionManager
 
add(Connection, String) - Method in class com.alipay.remoting.DefaultConnectionManager
 
add(Scannable) - Method in class com.alipay.remoting.rpc.RpcTaskScanner
Add scan target.
add(E) - Method in class com.alipay.remoting.util.ConcurrentHashSet
add an obj to set, if exist, return false, else return true
addCancelUrl(Url) - Method in class com.alipay.remoting.ReconnectManager
 
addConnectionEventProcessor(ConnectionEventType, ConnectionEventProcessor) - Method in class com.alipay.remoting.ConnectionEventListener
Add event processor.
addConnectionEventProcessor(ConnectionEventType, ConnectionEventProcessor) - Method in class com.alipay.remoting.rpc.RpcClient
Add processor to process connection event.
addConnectionEventProcessor(ConnectionEventType, ConnectionEventProcessor) - Method in class com.alipay.remoting.rpc.RpcServer
Add processor to process connection event.
addIdGroupCallbackMapping(Integer, InvokeFuture, Channel) - Static method in class com.alipay.remoting.util.ConnectionUtil
 
addIdPoolKeyMapping(Integer, String) - Method in class com.alipay.remoting.Connection
add Id to group Mapping
addIdPoolKeyMapping(Integer, String, Channel) - Static method in class com.alipay.remoting.util.ConnectionUtil
 
addInvokeFuture(InvokeFuture) - Method in class com.alipay.remoting.Connection
Add an InvokeFuture
addPoolKey(String) - Method in class com.alipay.remoting.Connection
add a pool key to list
addReconnectTask(Url) - Method in class com.alipay.remoting.ReconnectManager
add reconnect task
addressParser - Variable in class com.alipay.remoting.DefaultConnectionManager
address parser
addressParser - Variable in class com.alipay.remoting.rpc.RpcRemoting
address parser to get custom args
addSerializer(int, Serializer) - Static method in class com.alipay.remoting.serialization.SerializerManager
 
addTimeout(Timeout) - Method in interface com.alipay.remoting.InvokeFuture
Add timeout for the future.
addTimeout(Timeout) - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
AND - Static variable in interface com.alipay.remoting.RemotingAddressParser
symbol &
AsyncContext - Interface in com.alipay.remoting
Async context for biz.
AsyncUserProcessor<T> - Class in com.alipay.remoting.rpc.protocol
Extends this to process user defined request in ASYNC way.
AsyncUserProcessor() - Constructor for class com.alipay.remoting.rpc.protocol.AsyncUserProcessor
 

B

BaseRemoting - Class in com.alipay.remoting
Base remoting capability.
BaseRemoting(CommandFactory) - Constructor for class com.alipay.remoting.BaseRemoting
 
BizContext - Interface in com.alipay.remoting
basic info for biz
BOLT_CRC_SWITCH - Static variable in class com.alipay.remoting.InvokeContext
 
BOLT_CUSTOM_SERIALIZER - Static variable in class com.alipay.remoting.InvokeContext
 
BOLT_INVOKE_REQUEST_ID - Static variable in class com.alipay.remoting.InvokeContext
 
BOLT_LOG_SPACE_PROPERTY - Static variable in class com.alipay.remoting.log.BoltLoggerFactory
 
BOLT_PROCESS_WAIT_TIME - Static variable in class com.alipay.remoting.InvokeContext
time consumed start from the time when request arrive, to the time when request be processed, this is a timespan
BoltLoggerFactory - Class in com.alipay.remoting.log
Customized logger factory This can use middleware-log in sofa-common-tools to detect specific log implementation and initialize with the given log template.
BoltLoggerFactory() - Constructor for class com.alipay.remoting.log.BoltLoggerFactory
 

C

callDecode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Called once data should be decoded from the given ByteBuf.
canceled - Variable in class com.alipay.remoting.ReconnectManager
 
cancelTimeout() - Method in interface com.alipay.remoting.InvokeFuture
Cancel the timeout.
cancelTimeout() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
channelActive(ChannelHandlerContext) - Method in class com.alipay.remoting.ConnectionEventHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
 
channelInactive(ChannelHandlerContext) - Method in class com.alipay.remoting.ConnectionEventHandler
 
channelInactive(ChannelHandlerContext) - Method in class com.alipay.remoting.rpc.RpcConnectionEventHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
This method has been modified to check the size of decoded msgs, which is represented by the local variable RecyclableArrayList out.
channelRead(ChannelHandlerContext, Object) - Method in class com.alipay.remoting.rpc.RpcHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
 
channelRegistered(ChannelHandlerContext) - Method in class com.alipay.remoting.ConnectionEventHandler
 
channelUnregistered(ChannelHandlerContext) - Method in class com.alipay.remoting.ConnectionEventHandler
 
check(Connection) - Method in interface com.alipay.remoting.ConnectionManager
check a connection whether available, if not, throw RemotingException
check(Connection) - Method in class com.alipay.remoting.DefaultConnectionManager
 
checkConnection(String) - Method in class com.alipay.remoting.rpc.RpcClient
check connection, the address format example - 127.0.0.1:12200?
clear() - Static method in class com.alipay.remoting.CustomSerializerManager
clear the custom serializers.
clear() - Method in class com.alipay.remoting.InvokeContext
clear all mappings.
clear() - Method in class com.alipay.remoting.util.ConcurrentHashSet
clear the set
clearAttributes() - Method in class com.alipay.remoting.Connection
Clear attribute.
CLIENT_CONN_CREATETIME - Static variable in class com.alipay.remoting.InvokeContext
time consumed during connection creating, this is a timespan
CLIENT_LOCAL_IP - Static variable in class com.alipay.remoting.InvokeContext
 
CLIENT_LOCAL_PORT - Static variable in class com.alipay.remoting.InvokeContext
 
CLIENT_REMOTE_IP - Static variable in class com.alipay.remoting.InvokeContext
 
CLIENT_REMOTE_PORT - Static variable in class com.alipay.remoting.InvokeContext
 
close() - Method in class com.alipay.remoting.Connection
Close the connection.
close(ChannelHandlerContext, ChannelPromise) - Method in class com.alipay.remoting.ConnectionEventHandler
 
closeConnection(String) - Method in class com.alipay.remoting.rpc.RpcClient
Close all connections of a address
closeConnection(Url) - Method in class com.alipay.remoting.rpc.RpcClient
Close all connections of a Url
closeStandaloneConnection(Connection) - Method in class com.alipay.remoting.rpc.RpcClient
Close a standalone connection
CodecException - Exception in com.alipay.remoting.exception
Exception when codec problems occur
CodecException() - Constructor for exception com.alipay.remoting.exception.CodecException
Constructor.
CodecException(String) - Constructor for exception com.alipay.remoting.exception.CodecException
Constructor.
CodecException(String, Throwable) - Constructor for exception com.alipay.remoting.exception.CodecException
Constructor.
COLON - Static variable in interface com.alipay.remoting.RemotingAddressParser
symbol :
com.alipay.remoting - package com.alipay.remoting
 
com.alipay.remoting.codec - package com.alipay.remoting.codec
 
com.alipay.remoting.exception - package com.alipay.remoting.exception
 
com.alipay.remoting.log - package com.alipay.remoting.log
 
com.alipay.remoting.rpc - package com.alipay.remoting.rpc
 
com.alipay.remoting.rpc.exception - package com.alipay.remoting.rpc.exception
 
com.alipay.remoting.rpc.protocol - package com.alipay.remoting.rpc.protocol
 
com.alipay.remoting.serialization - package com.alipay.remoting.serialization
 
com.alipay.remoting.util - package com.alipay.remoting.util
 
CommandCode - Interface in com.alipay.remoting
Remoting command code stands for a specific remoting command, and every kind of command has its own code.
CommandDecoder - Interface in com.alipay.remoting
Decode command.
CommandEncoder - Interface in com.alipay.remoting
Encode command.
CommandFactory - Interface in com.alipay.remoting
Command factory
CommandHandler - Interface in com.alipay.remoting
Command handler.
CommonCommandCode - Enum in com.alipay.remoting
The common command code, especially for heart beat command.
COMPOSITE_CUMULATOR - Static variable in class com.alipay.remoting.codec.AbstractBatchDecoder
Cumulate ByteBufs by add them to a CompositeByteBuf and so do no memory copy whenever possible.
ConcurrentHashSet<E> - Class in com.alipay.remoting.util
Concurrent hash set.
ConcurrentHashSet() - Constructor for class com.alipay.remoting.util.ConcurrentHashSet
constructor
Configs - Class in com.alipay.remoting
Configuration items.
Configs() - Constructor for class com.alipay.remoting.Configs
 
conn_create_tp_keepalive() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_CREATE_TP_KEEPALIVE_TIME - Static variable in class com.alipay.remoting.Configs
Thread pool keep alive time for the connection manager executor
CONN_CREATE_TP_KEEPALIVE_TIME_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_CREATE_TP_MAX_SIZE - Static variable in class com.alipay.remoting.Configs
Thread pool max size for the connection manager executor
conn_create_tp_max_size() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_CREATE_TP_MAX_SIZE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_CREATE_TP_MIN_SIZE - Static variable in class com.alipay.remoting.Configs
Thread pool min size for the connection manager executor
conn_create_tp_min_size() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_CREATE_TP_MIN_SIZE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_CREATE_TP_QUEUE_SIZE - Static variable in class com.alipay.remoting.Configs
Thread pool queue size for the connection manager executor
conn_create_tp_queue_size() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_CREATE_TP_QUEUE_SIZE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_MONITOR_INITIAL_DELAY - Static variable in class com.alipay.remoting.Configs
Initial delay to execute schedule task for connection monitor
conn_monitor_initial_delay() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_MONITOR_INITIAL_DELAY_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_MONITOR_PERIOD - Static variable in class com.alipay.remoting.Configs
Period of schedule task for connection monitor
conn_monitor_period() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_MONITOR_PERIOD_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_MONITOR_SWITCH - Static variable in class com.alipay.remoting.Configs
Connection monitor switch If switch on connection monitor, it may cause RpcClient.oneway(java.lang.String, java.lang.Object) to fail.
conn_monitor_switch() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_MONITOR_SWITCH - Static variable in class com.alipay.remoting.util.GlobalSwitch
 
CONN_MONITOR_SWITCH_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_RECONNECT_SWITCH - Static variable in class com.alipay.remoting.Configs
Reconnection switch
conn_reconnect_switch() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_RECONNECT_SWITCH - Static variable in class com.alipay.remoting.util.GlobalSwitch
 
CONN_RECONNECT_SWITCH_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
CONN_SERVICE_STATUS - Static variable in class com.alipay.remoting.Configs
Connection status
CONN_SERVICE_STATUS_OFF - Static variable in class com.alipay.remoting.Configs
 
CONN_SERVICE_STATUS_ON - Static variable in class com.alipay.remoting.Configs
 
CONN_THRESHOLD - Static variable in class com.alipay.remoting.Configs
Connection threshold
conn_threshold() - Static method in class com.alipay.remoting.SystemProperties
 
CONN_THRESHOLD_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class com.alipay.remoting.ConnectionEventHandler
 
CONNECT_TIMEOUT_KEY - Static variable in class com.alipay.remoting.rpc.RpcConfigs
Connection timeout key in url.
Connection - Class in com.alipay.remoting
An abstraction of socket channel.
Connection(Channel) - Constructor for class com.alipay.remoting.Connection
Constructor
Connection(Channel, Url) - Constructor for class com.alipay.remoting.Connection
Constructor
Connection(Channel, ProtocolCode, Url) - Constructor for class com.alipay.remoting.Connection
Constructor
Connection(Channel, ProtocolCode, byte, Url) - Constructor for class com.alipay.remoting.Connection
Constructor
CONNECTION - Static variable in class com.alipay.remoting.Connection
Attribute key for connection
CONNECTION_NUM_KEY - Static variable in class com.alipay.remoting.rpc.RpcConfigs
Connection number key of each address
CONNECTION_WARMUP_KEY - Static variable in class com.alipay.remoting.rpc.RpcConfigs
whether need to warm up connections
ConnectionClosedException - Exception in com.alipay.remoting.exception
Exception when connection is closed.
ConnectionClosedException() - Constructor for exception com.alipay.remoting.exception.ConnectionClosedException
Default constructor.
ConnectionClosedException(String) - Constructor for exception com.alipay.remoting.exception.ConnectionClosedException
 
ConnectionClosedException(String, Throwable) - Constructor for exception com.alipay.remoting.exception.ConnectionClosedException
 
ConnectionEventHandler - Class in com.alipay.remoting
Log the channel status event.
ConnectionEventHandler() - Constructor for class com.alipay.remoting.ConnectionEventHandler
 
ConnectionEventHandler(GlobalSwitch) - Constructor for class com.alipay.remoting.ConnectionEventHandler
 
connectionEventHandler - Variable in class com.alipay.remoting.DefaultConnectionManager
connection event handler
ConnectionEventHandler.ConnectionEventExecutor - Class in com.alipay.remoting
Dispatch connection event.
ConnectionEventHandler.ConnectionEventExecutor() - Constructor for class com.alipay.remoting.ConnectionEventHandler.ConnectionEventExecutor
 
ConnectionEventListener - Class in com.alipay.remoting
Listen and dispatch connection events.
ConnectionEventListener() - Constructor for class com.alipay.remoting.ConnectionEventListener
 
connectionEventListener - Variable in class com.alipay.remoting.DefaultConnectionManager
connection event listener
ConnectionEventProcessor - Interface in com.alipay.remoting
Process connection events.
ConnectionEventType - Enum in com.alipay.remoting
Event triggered by connection state.
ConnectionFactory - Interface in com.alipay.remoting
Factory that creates connections.
connectionFactory - Variable in class com.alipay.remoting.DefaultConnectionManager
connection factory
ConnectionHeartbeatManager - Interface in com.alipay.remoting
Connection heart beat manager, operate heart beat whether enabled for a certain connection at runtime
ConnectionManager - Interface in com.alipay.remoting
Connection manager of connection pool
connectionManager - Variable in class com.alipay.remoting.rpc.RpcRemoting
connection manager
ConnectionMonitorStrategy - Interface in com.alipay.remoting
The strategy of connection monitor
ConnectionPool - Class in com.alipay.remoting
Connection pool
ConnectionPool(ConnectionSelectStrategy) - Constructor for class com.alipay.remoting.ConnectionPool
Constructor
ConnectionSelectStrategy - Interface in com.alipay.remoting
Select strategy from connection pool
connectionSelectStrategy - Variable in class com.alipay.remoting.DefaultConnectionManager
connection pool select strategy
ConnectionUtil - Class in com.alipay.remoting.util
connection util
ConnectionUtil() - Constructor for class com.alipay.remoting.util.ConnectionUtil
 
connTasks - Variable in class com.alipay.remoting.DefaultConnectionManager
connection pool initialize tasks
contains(Connection) - Method in class com.alipay.remoting.ConnectionPool
check weather a connection already added
contains(Object) - Method in class com.alipay.remoting.util.ConcurrentHashSet
 
count(String) - Method in interface com.alipay.remoting.ConnectionManager
Get the number of Connection in ConnectionPool with the specified pool key
count(String) - Method in class com.alipay.remoting.DefaultConnectionManager
 
crc32(byte[]) - Static method in class com.alipay.remoting.util.CrcUtil
Compute CRC32 code for byte[].
crc32(byte[], int, int) - Static method in class com.alipay.remoting.util.CrcUtil
Compute CRC32 code for byte[].
CRC_SWITCH_DEFAULT_VALUE - Static variable in class com.alipay.remoting.util.ProtocolSwitch
 
CRC_SWITCH_INDEX - Static variable in class com.alipay.remoting.util.ProtocolSwitch
 
CrcUtil - Class in com.alipay.remoting.util
CRC32 utility.
CrcUtil() - Constructor for class com.alipay.remoting.util.CrcUtil
 
create(Url) - Method in interface com.alipay.remoting.ConnectionManager
Create a connection using specified Url.
create(String, int) - Method in interface com.alipay.remoting.ConnectionManager
Create a connection using specified String address.
create(String, int, int) - Method in interface com.alipay.remoting.ConnectionManager
Create a connection using specified ip and port.
create(Url) - Method in class com.alipay.remoting.DefaultConnectionManager
 
create(String, int, int) - Method in class com.alipay.remoting.DefaultConnectionManager
 
create(String, int) - Method in class com.alipay.remoting.DefaultConnectionManager
 
create(int) - Static method in class com.alipay.remoting.util.ProtocolSwitch
create an instance of ProtocolSwitch according to byte value
create(int[]) - Static method in class com.alipay.remoting.util.ProtocolSwitch
create an instance of ProtocolSwitch according to switch index
createConnection(Url) - Method in interface com.alipay.remoting.ConnectionFactory
Create a connection use #BoltUrl
createConnection(String, int, int) - Method in interface com.alipay.remoting.ConnectionFactory
Create a connection according to the IP and port.
createConnection(String, int, byte, int) - Method in interface com.alipay.remoting.ConnectionFactory
Create a connection according to the IP and port.
createConnection(Url) - Method in class com.alipay.remoting.rpc.RpcConnectionFactory
 
createConnection(String, int, int) - Method in class com.alipay.remoting.rpc.RpcConnectionFactory
 
createConnection(String, int, byte, int) - Method in class com.alipay.remoting.rpc.RpcConnectionFactory
 
createConnectionAndHealIfNeed(Url) - Method in interface com.alipay.remoting.ConnectionManager
This method can create connection pool with connections initialized and check the number of connections.
createConnectionAndHealIfNeed(Url) - Method in class com.alipay.remoting.DefaultConnectionManager
If no task cached, create one and initialize the connections.
createConnectionClosedResponse(InetSocketAddress, String) - Method in interface com.alipay.remoting.CommandFactory
 
createConnectionClosedResponse(InetSocketAddress) - Method in interface com.alipay.remoting.InvokeFuture
Create a remoting command response when connection closed
createConnectionClosedResponse(InetSocketAddress) - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
createConnectionClosedResponse(InetSocketAddress, String) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
createExceptionResponse(int, String) - Method in interface com.alipay.remoting.CommandFactory
 
createExceptionResponse(int, Throwable, String) - Method in interface com.alipay.remoting.CommandFactory
 
createExceptionResponse(int, ResponseStatus) - Method in interface com.alipay.remoting.CommandFactory
 
createExceptionResponse(int, String) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
createExceptionResponse(int, Throwable, String) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
createExceptionResponse(int, ResponseStatus) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
createInvokeFuture(RemotingCommand, InvokeContext) - Method in class com.alipay.remoting.BaseRemoting
Create invoke future with InvokeContext.
createInvokeFuture(Connection, RemotingCommand, InvokeContext, InvokeCallback) - Method in class com.alipay.remoting.BaseRemoting
Create invoke future with InvokeContext.
createInvokeFuture(RemotingCommand, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcRemoting
 
createInvokeFuture(Connection, RemotingCommand, InvokeContext, InvokeCallback) - Method in class com.alipay.remoting.rpc.RpcRemoting
 
createRequestCommand(Object) - Method in interface com.alipay.remoting.CommandFactory
create a request command with request object
createRequestCommand(Object) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
createResponse(Object, RemotingCommand) - Method in interface com.alipay.remoting.CommandFactory
create a normal response with response object
createResponse(Object, RemotingCommand) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
createSendFailedResponse(InetSocketAddress, Throwable) - Method in interface com.alipay.remoting.CommandFactory
 
createSendFailedResponse(InetSocketAddress, Throwable) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
createStandaloneConnection(String, int, int) - Method in class com.alipay.remoting.rpc.RpcClient
Create a stand alone connection using ip and port.
createStandaloneConnection(String, int) - Method in class com.alipay.remoting.rpc.RpcClient
Create a stand alone connection using address, address format example - 127.0.0.1:12200
Notice:
Each time you can this method, will create a new connection.
createTimeoutResponse(InetSocketAddress) - Method in interface com.alipay.remoting.CommandFactory
 
createTimeoutResponse(InetSocketAddress) - Method in class com.alipay.remoting.rpc.RpcCommandFactory
 
cumulate(ByteBufAllocator, ByteBuf, ByteBuf) - Method in interface com.alipay.remoting.codec.AbstractBatchDecoder.Cumulator
Cumulate the given ByteBufs and return the ByteBuf that holds the cumulated bytes.
CustomSerializer - Interface in com.alipay.remoting
Define custom serializers for command header and content.
CustomSerializerManager - Class in com.alipay.remoting
Manage the custom serializer according to the class name.
CustomSerializerManager() - Constructor for class com.alipay.remoting.CustomSerializerManager
 

D

decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Decode the from one ByteBuf to an other.
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class com.alipay.remoting.codec.ProtocolCodeBasedDecoder
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in interface com.alipay.remoting.CommandDecoder
Decode bytes into object.
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class com.alipay.remoting.rpc.protocol.RpcCommandDecoder
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class com.alipay.remoting.rpc.protocol.RpcCommandDecoderV2
 
decodeLast(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Is called one last time when the ChannelHandlerContext goes in-active.
decodeProtocolCode(ByteBuf) - Method in class com.alipay.remoting.codec.ProtocolCodeBasedDecoder
decode the protocol code
decodeProtocolVersion(ByteBuf) - Method in class com.alipay.remoting.codec.ProtocolCodeBasedDecoder
decode the protocol version
decodeProtocolVersion(ByteBuf) - Method in class com.alipay.remoting.rpc.protocol.RpcProtocolDecoder
 
decreaseRef() - Method in class com.alipay.remoting.Connection
decrease the reference count
DEFAULT_CHARSET - Static variable in class com.alipay.remoting.Configs
Charset
DEFAULT_CONN_NUM_PER_URL - Static variable in class com.alipay.remoting.Configs
default connection number per url
DEFAULT_CONNECT_TIMEOUT - Static variable in class com.alipay.remoting.Configs
Default connect timeout value, time unit: ms
DEFAULT_ILLEGAL_PROTOCOL_VERSION_LENGTH - Static variable in class com.alipay.remoting.codec.ProtocolCodeBasedDecoder
protocol version should be a positive number, we use -1 to represent illegal
DEFAULT_PROTOCOL_CODE_LENGTH - Static variable in class com.alipay.remoting.rpc.protocol.RpcProtocolManager
 
DEFAULT_PROTOCOL_VERSION_LENGTH - Static variable in class com.alipay.remoting.codec.ProtocolCodeBasedDecoder
by default, suggest design a single byte for protocol version.
default_tp_keepalive_time() - Static method in class com.alipay.remoting.SystemProperties
 
default_tp_max_size() - Static method in class com.alipay.remoting.SystemProperties
 
default_tp_min_size() - Static method in class com.alipay.remoting.SystemProperties
 
default_tp_queue_size() - Static method in class com.alipay.remoting.SystemProperties
 
DefaultBizContext - Class in com.alipay.remoting
default biz context
DefaultBizContext(RemotingContext) - Constructor for class com.alipay.remoting.DefaultBizContext
Constructor with RemotingContext
DefaultConnectionManager - Class in com.alipay.remoting
Abstract implementation of connection manager
DefaultConnectionManager() - Constructor for class com.alipay.remoting.DefaultConnectionManager
Default constructor
DefaultConnectionManager(ConnectionSelectStrategy) - Constructor for class com.alipay.remoting.DefaultConnectionManager
 
DefaultConnectionManager(ConnectionSelectStrategy, ConnectionFactory) - Constructor for class com.alipay.remoting.DefaultConnectionManager
 
DefaultConnectionManager(ConnectionFactory, RemotingAddressParser, ConnectionEventHandler) - Constructor for class com.alipay.remoting.DefaultConnectionManager
 
DefaultConnectionManager(ConnectionSelectStrategy, ConnectionFactory, ConnectionEventHandler, ConnectionEventListener) - Constructor for class com.alipay.remoting.DefaultConnectionManager
 
DefaultConnectionManager(ConnectionSelectStrategy, ConnectionFactory, ConnectionEventHandler, ConnectionEventListener, GlobalSwitch) - Constructor for class com.alipay.remoting.DefaultConnectionManager
 
DefaultConnectionMonitor - Class in com.alipay.remoting
A default connection monitor that handle connections with strategies
DefaultConnectionMonitor(ConnectionMonitorStrategy, DefaultConnectionManager) - Constructor for class com.alipay.remoting.DefaultConnectionMonitor
 
DefaultCustomSerializer - Class in com.alipay.remoting
The default custom serializer, which does nothing.
DefaultCustomSerializer() - Constructor for class com.alipay.remoting.DefaultCustomSerializer
 
DefaultInvokeFuture - Class in com.alipay.remoting.rpc
The default implementation of InvokeFuture.
DefaultInvokeFuture(int, InvokeCallbackListener, InvokeCallback, byte, CommandFactory) - Constructor for class com.alipay.remoting.rpc.DefaultInvokeFuture
Constructor.
DefaultInvokeFuture(int, InvokeCallbackListener, InvokeCallback, byte, CommandFactory, InvokeContext) - Constructor for class com.alipay.remoting.rpc.DefaultInvokeFuture
 
defaultProtocolCode - Variable in class com.alipay.remoting.codec.ProtocolCodeBasedEncoder
default protocol code
DeserializationException - Exception in com.alipay.remoting.exception
Exception when deserialize failed
DeserializationException() - Constructor for exception com.alipay.remoting.exception.DeserializationException
Constructor.
DeserializationException(String) - Constructor for exception com.alipay.remoting.exception.DeserializationException
Constructor.
DeserializationException(String, boolean) - Constructor for exception com.alipay.remoting.exception.DeserializationException
Constructor.
DeserializationException(String, Throwable) - Constructor for exception com.alipay.remoting.exception.DeserializationException
Constructor.
DeserializationException(String, Throwable, boolean) - Constructor for exception com.alipay.remoting.exception.DeserializationException
Constructor.
deserialize() - Method in interface com.alipay.remoting.RemotingCommand
Deserialize all parts of remoting command
deserialize() - Method in class com.alipay.remoting.rpc.RpcCommand
Deserialize the class header and content.
deserialize(long) - Method in class com.alipay.remoting.rpc.RpcCommand
Deserialize according to mask.
deserialize(byte[], String) - Method in class com.alipay.remoting.serialization.HessianSerializer
 
deserialize(byte[], String) - Method in interface com.alipay.remoting.serialization.Serializer
Decode bytes into Object.
DESERIALIZE_ALL - Static variable in class com.alipay.remoting.rpc.protocol.RpcDeserializeLevel
deserialize clazz, header, contents all three parts of rpc command
DESERIALIZE_CLAZZ - Static variable in class com.alipay.remoting.rpc.protocol.RpcDeserializeLevel
deserialize only the clazz part of rpc command
DESERIALIZE_HEADER - Static variable in class com.alipay.remoting.rpc.protocol.RpcDeserializeLevel
deserialize both header and clazz parts of rpc command
deserializeClazz() - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
 
deserializeClazz() - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
deserializeClazz() - Method in class com.alipay.remoting.rpc.RpcCommand
Deserialize the content class.
deserializeContent(T) - Method in interface com.alipay.remoting.CustomSerializer
Deserialize the content of RequestCommand.
deserializeContent(T, InvokeContext) - Method in interface com.alipay.remoting.CustomSerializer
Deserialize the content of ResponseCommand.
deserializeContent(T) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
deserializeContent(T, InvokeContext) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
deserializeContent(InvokeContext) - Method in interface com.alipay.remoting.RemotingCommand
Deserialize content of remoting command
deserializeContent(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
 
deserializeContent(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
deserializeContent(InvokeContext) - Method in class com.alipay.remoting.rpc.RpcCommand
Deserialize the content.
deserializeHeader(T) - Method in interface com.alipay.remoting.CustomSerializer
Deserialize the header of RequestCommand.
deserializeHeader(T, InvokeContext) - Method in interface com.alipay.remoting.CustomSerializer
Deserialize the header of ResponseCommand.
deserializeHeader(T) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
deserializeHeader(T, InvokeContext) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
deserializeHeader(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
 
deserializeHeader(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
deserializeHeader(InvokeContext) - Method in class com.alipay.remoting.rpc.RpcCommand
Deserialize the header.
destroy() - Method in class com.alipay.remoting.DefaultConnectionMonitor
cancel task and shutdown executor
disableConnHeartbeat(String) - Method in class com.alipay.remoting.rpc.RpcClient
Disable heart beat for a certain connection.
disableConnHeartbeat(Url) - Method in class com.alipay.remoting.rpc.RpcClient
Disable heart beat for a certain connection.
disableHeartbeat(Connection) - Method in interface com.alipay.remoting.ConnectionHeartbeatManager
disable heart beat for a certain connection
disableHeartbeat(Connection) - Method in class com.alipay.remoting.DefaultConnectionManager
 
discardSomeReadBytes() - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
 
disconnect(ChannelHandlerContext, ChannelPromise) - Method in class com.alipay.remoting.ConnectionEventHandler
 
doCreateConnection(String, int, int) - Method in class com.alipay.remoting.rpc.RpcConnectionFactory
 
doInit() - Method in class com.alipay.remoting.RemotingServer
Inject initialize logic here.
doInit() - Method in class com.alipay.remoting.rpc.RpcServer
 
doProcess(RemotingContext, T) - Method in class com.alipay.remoting.AbstractRemotingProcessor
Do the process.
doProcess(RemotingContext, RemotingCommand) - Method in class com.alipay.remoting.rpc.protocol.RpcHeartBeatProcessor
 
doProcess(RemotingContext, RpcRequestCommand) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestProcessor
 
doProcess(RemotingContext, RemotingCommand) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseProcessor
 
doStart() - Method in class com.alipay.remoting.RemotingServer
Inject start logic here.
doStart(String) - Method in class com.alipay.remoting.RemotingServer
Inject start logic here.
doStart() - Method in class com.alipay.remoting.rpc.RpcServer
 
doStart(String) - Method in class com.alipay.remoting.rpc.RpcServer
 
doStop() - Method in class com.alipay.remoting.RemotingServer
Inject stop logic here.
doStop() - Method in class com.alipay.remoting.rpc.RpcServer
Notice: only GlobalSwitch.SERVER_MANAGE_CONNECTION_SWITCH switch on, will close all connections.

E

EMPTY - Static variable in class com.alipay.remoting.util.StringUtils
 
EMPTY_STRING_ARRAY - Static variable in class com.alipay.remoting.util.StringUtils
 
enableConnectionMonitorSwitch() - Method in class com.alipay.remoting.rpc.RpcClient
enable connection monitor switch on
enableConnHeartbeat(String) - Method in class com.alipay.remoting.rpc.RpcClient
Enable heart beat for a certain connection.
enableConnHeartbeat(Url) - Method in class com.alipay.remoting.rpc.RpcClient
Enable heart beat for a certain connection.
enableHeartbeat(Connection) - Method in interface com.alipay.remoting.ConnectionHeartbeatManager
enable heart beat for a certain connection
enableHeartbeat(Connection) - Method in class com.alipay.remoting.DefaultConnectionManager
 
enableReconnectSwitch() - Method in class com.alipay.remoting.rpc.RpcClient
enable connection reconnect switch on Notice: This api should be called before RpcClient.init()
encode(ChannelHandlerContext, Serializable, ByteBuf) - Method in class com.alipay.remoting.codec.ProtocolCodeBasedEncoder
 
encode(ChannelHandlerContext, Serializable, ByteBuf) - Method in interface com.alipay.remoting.CommandEncoder
Encode object into bytes.
encode(ChannelHandlerContext, Serializable, ByteBuf) - Method in class com.alipay.remoting.rpc.protocol.RpcCommandEncoder
 
encode(ChannelHandlerContext, Serializable, ByteBuf) - Method in class com.alipay.remoting.rpc.protocol.RpcCommandEncoderV2
 
EQUAL - Static variable in interface com.alipay.remoting.RemotingAddressParser
symbol =
equals(Object) - Method in class com.alipay.remoting.ProtocolCode
 
equals(Object) - Method in class com.alipay.remoting.Url
 
equals(String, String) - Static method in class com.alipay.remoting.util.StringUtils
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.alipay.remoting.ConnectionEventHandler
 
executeInvokeCallback() - Method in interface com.alipay.remoting.InvokeFuture
Execute the callback.
executeInvokeCallback() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
executorSelector - Variable in class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
executor selector, default null unless provide one using its setter method

F

filter(List<Connection>) - Method in interface com.alipay.remoting.ConnectionMonitorStrategy
Filter connections to monitor
filter(List<Connection>) - Method in class com.alipay.remoting.ScheduledDisconnectStrategy
Filter connections to monitor
finalize() - Method in class com.alipay.remoting.Url
 
fromBytes(byte...) - Static method in class com.alipay.remoting.ProtocolCode
 
FutureTaskNotRunYetException - Exception in com.alipay.remoting.util
Exception to represent the run method of a future task has not been called.
FutureTaskNotRunYetException() - Constructor for exception com.alipay.remoting.util.FutureTaskNotRunYetException
Constructor.
FutureTaskNotRunYetException(String) - Constructor for exception com.alipay.remoting.util.FutureTaskNotRunYetException
Constructor.
FutureTaskNotRunYetException(String, Throwable) - Constructor for exception com.alipay.remoting.util.FutureTaskNotRunYetException
Constructor.
FutureTaskUtil - Class in com.alipay.remoting.util
Utils for future task
FutureTaskUtil() - Constructor for class com.alipay.remoting.util.FutureTaskUtil
 

G

get(String) - Method in interface com.alipay.remoting.BizContext
get value
get(String) - Method in interface com.alipay.remoting.ConnectionManager
Get a connection from ConnectionPool with the specified poolKey.
get() - Method in class com.alipay.remoting.ConnectionPool
get a connection
get(String) - Method in class com.alipay.remoting.DefaultBizContext
 
get(String) - Method in class com.alipay.remoting.DefaultConnectionManager
 
get(String) - Method in class com.alipay.remoting.InvokeContext
get
get(String, T) - Method in class com.alipay.remoting.InvokeContext
get and use default if not found
get(int) - Method in class com.alipay.remoting.rpc.RpcResponseFuture
get result with timeout specified if request done, resolve normal responseObject if request not done, throws InvokeTimeoutException
get() - Method in class com.alipay.remoting.rpc.RpcResponseFuture
 
getAddressParser() - Method in class com.alipay.remoting.DefaultConnectionManager
Getter method for property addressParser.
getAddressParser() - Method in class com.alipay.remoting.rpc.RpcClient
Getter method for property addressParser.
getAddressParser() - Method in class com.alipay.remoting.rpc.RpcServer
Getter method for property addressParser.
getAfterRun() - Method in class com.alipay.remoting.util.RunStateRecordedFutureTask
 
getAll(String) - Method in interface com.alipay.remoting.ConnectionManager
Get all connections from ConnectionPool with the specified poolKey.
getAll() - Method in interface com.alipay.remoting.ConnectionManager
Get all connections of all poolKey.
getAll() - Method in class com.alipay.remoting.ConnectionPool
get all connections
getAll(String) - Method in class com.alipay.remoting.DefaultConnectionManager
 
getAll() - Method in class com.alipay.remoting.DefaultConnectionManager
Get all connections of all poolKey.
getAllManagedConnections() - Method in class com.alipay.remoting.rpc.RpcClient
get all connections managed by rpc client
getAndCreateIfAbsent(Url) - Method in interface com.alipay.remoting.ConnectionManager
Get a connection using Url, if null then create and add into ConnectionPool.
getAndCreateIfAbsent(Url) - Method in class com.alipay.remoting.DefaultConnectionManager
If no task cached, create one and initialize the connections.
getAppClassLoader() - Method in interface com.alipay.remoting.InvokeFuture
 
getAppClassLoader() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
getArriveTime() - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Getter method for property arriveTime.
getArriveTimestamp() - Method in interface com.alipay.remoting.BizContext
get the arrive time stamp
getArriveTimestamp() - Method in class com.alipay.remoting.DefaultBizContext
get the arrive time stamp
getArriveTimestamp() - Method in class com.alipay.remoting.RemotingContext
Getter method for property arriveTimestamp.
getAttribute(String) - Method in class com.alipay.remoting.Connection
Get attribute.
getBool(String, String) - Static method in class com.alipay.remoting.SystemProperties
 
getByte(String, String) - Static method in class com.alipay.remoting.SystemProperties
 
getCause() - Method in interface com.alipay.remoting.InvokeFuture
Get the cause of exception of the future.
getCause() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
getCause() - Method in class com.alipay.remoting.rpc.ResponseCommand
Getter method for property cause.
getChannel() - Method in class com.alipay.remoting.Connection
Get the netty channel of the connection.
getChannelContext() - Method in class com.alipay.remoting.RemotingContext
Get the channel handler context.
getClazz() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getClazzLength() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getClientTimeout() - Method in interface com.alipay.remoting.BizContext
get the timeout value from rpc client.
getClientTimeout() - Method in class com.alipay.remoting.DefaultBizContext
get the timeout value from rpc client.
getCmdCode() - Method in interface com.alipay.remoting.RemotingCommand
Get the command code for this command
getCmdCode() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getCommandFactory() - Method in class com.alipay.remoting.AbstractRemotingProcessor
 
getCommandFactory() - Method in class com.alipay.remoting.BaseRemoting
 
getCommandFactory() - Method in interface com.alipay.remoting.Protocol
Get the command factory for the protocol.
getCommandFactory() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocol
 
getCommandFactory() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
getCommandHandler() - Method in interface com.alipay.remoting.Protocol
Get the command handler for the protocol.
getCommandHandler() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocol
 
getCommandHandler() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
getConnection() - Method in interface com.alipay.remoting.BizContext
get the connection of this request
getConnection() - Method in class com.alipay.remoting.DefaultBizContext
 
getConnection() - Method in class com.alipay.remoting.RemotingContext
Get connection from channel
getConnection(String, int) - Method in class com.alipay.remoting.rpc.RpcClient
Get a connection using address, address format example - 127.0.0.1:12200?
getConnection(Url, int) - Method in class com.alipay.remoting.rpc.RpcClient
Get a connection using a Url.
getConnectionAndInitInvokeContext(Url, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcClientRemoting
Get connection and set init invokeContext if invokeContext not null
getConnectionEventHandler() - Method in class com.alipay.remoting.DefaultConnectionManager
Getter method for property connectionEventHandler.
getConnectionEventListener() - Method in class com.alipay.remoting.ConnectionEventHandler
Getter method for property listener.
getConnectionEventListener() - Method in class com.alipay.remoting.DefaultConnectionManager
Getter method for property connectionEventListener.
getConnectionFactory() - Method in class com.alipay.remoting.DefaultConnectionManager
Getter method for property connctionFactory.
getConnectionFromChannel(Channel) - Static method in class com.alipay.remoting.util.ConnectionUtil
 
getConnectionManager() - Method in class com.alipay.remoting.ConnectionEventHandler
Getter method for property connectionManager.
getConnectionManager() - Method in class com.alipay.remoting.rpc.RpcClient
 
getConnectionManager() - Method in class com.alipay.remoting.rpc.RpcServer
Getter method for property connectionManager.
getConnectionSelectStrategy() - Method in class com.alipay.remoting.DefaultConnectionManager
Getter method for property connectionSelectStrategy.
getConnectTimeout() - Method in class com.alipay.remoting.Url
 
getConnNum() - Method in class com.alipay.remoting.Url
 
getConnPools() - Method in class com.alipay.remoting.DefaultConnectionManager
Getter method for property connPools.
getContent() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getContentLength() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getCustomSerializer(String) - Static method in class com.alipay.remoting.CustomSerializerManager
Get the custom serializer for class name.
getCustomSerializer(CommandCode) - Static method in class com.alipay.remoting.CustomSerializerManager
Get the custom serializer for command code.
getCustomSerializer() - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Getter method for property customSerializer.
getCustomSerializer() - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Getter method for property customSerializer.
getDecoder() - Method in interface com.alipay.remoting.Protocol
Get the decoder for the protocol.
getDecoder() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocol
 
getDecoder() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
getDefaultExecutor() - Method in interface com.alipay.remoting.CommandHandler
Get default executor for the handler.
getDefaultExecutor() - Method in class com.alipay.remoting.ProcessorManager
Getter method for property defaultExecutor.
getDefaultExecutor() - Method in class com.alipay.remoting.rpc.protocol.RpcCommandHandler
 
getEncoder() - Method in interface com.alipay.remoting.Protocol
Get the encoder for the protocol.
getEncoder() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocol
 
getEncoder() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
getErrorMsg() - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Getter method for property errorMsg.
getExecutor() - Method in class com.alipay.remoting.AbstractRemotingProcessor
Getter method for property executor.
getExecutor() - Method in interface com.alipay.remoting.InvokeCallback
User defined executor.
getExecutor() - Method in interface com.alipay.remoting.RemotingProcessor
Get the executor.
getExecutor() - Method in class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
By default return null.
getExecutor() - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Get user executor.
getExecutorSelector() - Method in class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
 
getExecutorSelector() - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Getter.
getFirstByte() - Method in class com.alipay.remoting.ProtocolCode
get the first single byte if your protocol code is single code.
getFutureTaskResult(RunStateRecordedFutureTask<T>, Logger) - Static method in class com.alipay.remoting.util.FutureTaskUtil
get the result of a future task Notice: the run method of this task should have been called at first.
getGroupRequestCallBack(Integer, Channel) - Static method in class com.alipay.remoting.util.ConnectionUtil
 
getHeader() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getHeaderLength() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getHeartbeatTrigger() - Method in interface com.alipay.remoting.Protocol
Get the heartbeat trigger for the protocol.
getHeartbeatTrigger() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocol
 
getHeartbeatTrigger() - Method in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
getId() - Method in interface com.alipay.remoting.RemotingCommand
Get the id of the command
getId() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getInt(String, String) - Static method in class com.alipay.remoting.SystemProperties
 
getInvokeCallback() - Method in interface com.alipay.remoting.InvokeFuture
Get the application callback of the future.
getInvokeCallback() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
getInvokeContext() - Method in interface com.alipay.remoting.BizContext
get invoke context.
getInvokeContext() - Method in class com.alipay.remoting.DefaultBizContext
 
getInvokeContext() - Method in interface com.alipay.remoting.InvokeFuture
get invoke context
getInvokeContext() - Method in interface com.alipay.remoting.RemotingCommand
Get invoke context for this command
getInvokeContext() - Method in class com.alipay.remoting.RemotingContext
Getter method for property invokeContext.
getInvokeContext() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
getInvokeContext() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getInvokeFuture(int) - Method in class com.alipay.remoting.Connection
Get the InvokeFuture with invokeId of id.
getInvokeFutureMap() - Method in class com.alipay.remoting.Connection
Getter method for property invokeFutureMap.
getIp() - Method in class com.alipay.remoting.Url
 
getLastAccessTimestamp() - Method in class com.alipay.remoting.ConnectionPool
Getter method for property lastAccessTimestamp.
getLocalAddress() - Method in class com.alipay.remoting.Connection
Get the address of the local peer.
getLocalIP() - Method in class com.alipay.remoting.Connection
Get the local IP.
getLocalPort() - Method in class com.alipay.remoting.Connection
Get the local port.
getLogger(Class<?>) - Static method in class com.alipay.remoting.log.BoltLoggerFactory
 
getLogger(String) - Static method in class com.alipay.remoting.log.BoltLoggerFactory
 
getLong(String, String) - Static method in class com.alipay.remoting.SystemProperties
 
getOriginUrl() - Method in class com.alipay.remoting.Url
 
getPoolKeys() - Method in class com.alipay.remoting.Connection
get all pool keys
getPort() - Method in class com.alipay.remoting.RemotingServer
Get the port of the server.
getPort() - Method in class com.alipay.remoting.Url
 
getProcessor(CommandCode) - Method in class com.alipay.remoting.ProcessorManager
Get the specific processor with command code of cmdCode if registered, otherwise the default processor is returned.
getProperties() - Method in class com.alipay.remoting.Url
 
getProperty(String) - Method in class com.alipay.remoting.Url
Get property value according to property key
getProtocol(ProtocolCode) - Static method in class com.alipay.remoting.ProtocolManager
 
getProtocol() - Method in class com.alipay.remoting.Url
 
getProtocolCode() - Method in interface com.alipay.remoting.InvokeFuture
Get the protocol code of command.
getProtocolCode() - Method in interface com.alipay.remoting.RemotingCommand
Get the code of the protocol that this command belongs to
getProtocolCode() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
getProtocolCode() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getProtocolSwitch() - Method in interface com.alipay.remoting.RemotingCommand
Get the protocol switch status for this command
getProtocolSwitch() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getRemoteAddress() - Method in interface com.alipay.remoting.BizContext
get remote address
getRemoteAddress() - Method in class com.alipay.remoting.Connection
Get the address of the remote peer.
getRemoteAddress() - Method in class com.alipay.remoting.DefaultBizContext
 
getRemoteAddress() - Method in interface com.alipay.remoting.InvokeCallbackListener
Get the remote address.
getRemoteAddress() - Method in class com.alipay.remoting.rpc.RpcInvokeCallbackListener
 
getRemoteHost() - Method in interface com.alipay.remoting.BizContext
get remote host ip
getRemoteHost() - Method in class com.alipay.remoting.DefaultBizContext
 
getRemoteIP() - Method in class com.alipay.remoting.Connection
Get the remote IP.
getRemotePort() - Method in interface com.alipay.remoting.BizContext
get remote port
getRemotePort() - Method in class com.alipay.remoting.Connection
Get the remote port.
getRemotePort() - Method in class com.alipay.remoting.DefaultBizContext
 
getRemotingCtx() - Method in class com.alipay.remoting.DefaultBizContext
get remoting context
getRequestClass() - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Getter method for property requestClass.
getRequestHeader() - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Getter method for property requestHeader.
getRequestHeaderLength() - Static method in class com.alipay.remoting.rpc.protocol.RpcProtocol
Get the length of request header.
getRequestHeaderLength() - Static method in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
getRequestObject() - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Getter method for property requestObject.
getResponseClass() - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Getter method for property responseClass.
getResponseHeader() - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Getter method for property responseHeader.
getResponseHeaderLength() - Static method in class com.alipay.remoting.rpc.protocol.RpcProtocol
Get the length of response header.
getResponseHeaderLength() - Static method in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
getResponseHost() - Method in class com.alipay.remoting.rpc.ResponseCommand
Getter method for property responseHost.
getResponseObject() - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Getter method for property responseObject.
getResponseStatus() - Method in class com.alipay.remoting.rpc.ResponseCommand
Getter method for property responseStatus.
getResponseTimeMillis() - Method in class com.alipay.remoting.rpc.ResponseCommand
Getter method for property responseTimeMillis.
getSerializer() - Method in interface com.alipay.remoting.RemotingCommand
Get serializer type for this command
getSerializer() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getSerializer(int) - Static method in class com.alipay.remoting.serialization.SerializerManager
 
getTimeout() - Method in class com.alipay.remoting.RemotingContext
Getter method for property timeout.
getTimeout() - Method in class com.alipay.remoting.rpc.RequestCommand
Getter method for property timeout.
getTimer() - Static method in class com.alipay.remoting.TimerHolder
Get a singleton instance of Timer.
getType() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getUniqueKey() - Method in class com.alipay.remoting.Url
 
getUrl() - Method in class com.alipay.remoting.Connection
Getter method for property url.
getUserProcessor(String) - Method in class com.alipay.remoting.RemotingContext
Get user processor for class name.
getValue() - Method in enum com.alipay.remoting.ResponseStatus
Convert to short.
getVersion() - Method in class com.alipay.remoting.rpc.RpcCommand
 
getVersion() - Method in class com.alipay.remoting.Url
 
GlobalSwitch - Class in com.alipay.remoting.util
Global switches used in client or server NOTICE:
1. system settings will take effect in all bolt client or server instances in one process
2. user settings will only take effect in the current instance of bolt client or server.
GlobalSwitch() - Constructor for class com.alipay.remoting.util.GlobalSwitch
 

H

handleCommand(RemotingContext, Object) - Method in interface com.alipay.remoting.CommandHandler
Handle the command.
handleCommand(RemotingContext, Object) - Method in class com.alipay.remoting.rpc.protocol.RpcCommandHandler
 
handleRequest(BizContext, T) - Method in class com.alipay.remoting.rpc.protocol.AsyncUserProcessor
unsupported here!
handleRequest(BizContext, AsyncContext, T) - Method in class com.alipay.remoting.rpc.protocol.AsyncUserProcessor
 
handleRequest(BizContext, T) - Method in class com.alipay.remoting.rpc.protocol.SyncUserProcessor
 
handleRequest(BizContext, AsyncContext, T) - Method in class com.alipay.remoting.rpc.protocol.SyncUserProcessor
unsupported here!
handleRequest(BizContext, AsyncContext, T) - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Handle request with AsyncContext.
handleRequest(BizContext, T) - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Handle request in sync way.
handlerRemoved(ChannelHandlerContext) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
 
handlerRemoved0(ChannelHandlerContext) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Gets called after the ByteToMessageDecoder was removed from the actual context and it doesn't handle events anymore.
hashCode() - Method in class com.alipay.remoting.ProtocolCode
 
hashCode() - Method in class com.alipay.remoting.Url
 
healTasks - Variable in class com.alipay.remoting.DefaultConnectionManager
heal connection tasks
HEARTBEAT_COUNT - Static variable in class com.alipay.remoting.Connection
Attribute key for heartbeat count
HEARTBEAT_SWITCH - Static variable in class com.alipay.remoting.Connection
Attribute key for heartbeat switch for each connection
HEARTBEAT_VALUE - Static variable in interface com.alipay.remoting.CommandCode
 
HeartbeatAckCommand - Class in com.alipay.remoting.rpc
Heartbeat ack.
HeartbeatAckCommand() - Constructor for class com.alipay.remoting.rpc.HeartbeatAckCommand
Constructor.
HeartbeatCommand - Class in com.alipay.remoting.rpc
Heart beat.
HeartbeatCommand() - Constructor for class com.alipay.remoting.rpc.HeartbeatCommand
Construction.
HeartbeatHandler - Class in com.alipay.remoting.rpc
Heart beat triggerd.
HeartbeatHandler() - Constructor for class com.alipay.remoting.rpc.HeartbeatHandler
 
HeartbeatTrigger - Interface in com.alipay.remoting
Heartbeat triggers here.
heartbeatTriggered(ChannelHandlerContext) - Method in interface com.alipay.remoting.HeartbeatTrigger
 
heartbeatTriggered(ChannelHandlerContext) - Method in class com.alipay.remoting.rpc.protocol.RpcHeartbeatTrigger
 
Hessian2 - Static variable in class com.alipay.remoting.serialization.SerializerManager
 
HessianSerializer - Class in com.alipay.remoting.serialization
Hessian2 serializer.
HessianSerializer() - Constructor for class com.alipay.remoting.serialization.HessianSerializer
 

I

IDGenerator - Class in com.alipay.remoting.util
IDGenerator is used for generating request id in integer form.
IDGenerator() - Constructor for class com.alipay.remoting.util.IDGenerator
 
increaseRef() - Method in class com.alipay.remoting.Connection
increase the reference count
init(ConnectionEventHandler) - Method in interface com.alipay.remoting.ConnectionFactory
Initialize the factory.
init() - Method in interface com.alipay.remoting.ConnectionManager
init
init() - Method in class com.alipay.remoting.DefaultConnectionManager
 
init() - Method in class com.alipay.remoting.RemotingServer
Initialize.
init() - Method in class com.alipay.remoting.rpc.RpcClient
Initialization.
init(ConnectionEventHandler) - Method in class com.alipay.remoting.rpc.RpcConnectionFactory
 
INITIAL_SIZE - Static variable in class com.alipay.remoting.InvokeContext
 
initProtocols() - Static method in class com.alipay.remoting.rpc.protocol.RpcProtocolManager
 
initRpcRemoting(RpcRemoting) - Method in class com.alipay.remoting.rpc.RpcServer
init rpc remoting
initUrlArgs(Url) - Method in interface com.alipay.remoting.RemotingAddressParser
Initialize Url arguments
initUrlArgs(Url) - Method in class com.alipay.remoting.rpc.RpcAddressParser
 
interest() - Method in class com.alipay.remoting.rpc.protocol.AsyncUserProcessor
 
interest() - Method in class com.alipay.remoting.rpc.protocol.SyncUserProcessor
 
interest() - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
The class name of user request.
internalBuffer() - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Returns the internal cumulative buffer of this decoder.
InvokeCallback - Interface in com.alipay.remoting
Invoke callback.
InvokeCallbackListener - Interface in com.alipay.remoting
Listener to listen response and invoke callback.
InvokeContext - Class in com.alipay.remoting
Invoke context
InvokeContext() - Constructor for class com.alipay.remoting.InvokeContext
default construct
InvokeException - Exception in com.alipay.remoting.rpc.exception
Exception when invoke failed
InvokeException() - Constructor for exception com.alipay.remoting.rpc.exception.InvokeException
Default constructor.
InvokeException(String) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeException
 
InvokeException(String, Throwable) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeException
 
InvokeFuture - Interface in com.alipay.remoting
The future of an invocation.
invokeId() - Method in interface com.alipay.remoting.InvokeFuture
Get the id of the invocation.
invokeId() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
InvokeSendFailedException - Exception in com.alipay.remoting.rpc.exception
Exception when invoke send failed
InvokeSendFailedException() - Constructor for exception com.alipay.remoting.rpc.exception.InvokeSendFailedException
Default constructor.
InvokeSendFailedException(String) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeSendFailedException
 
InvokeSendFailedException(String, Throwable) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeSendFailedException
 
InvokeServerBusyException - Exception in com.alipay.remoting.rpc.exception
Exception when thread pool busy of process server
InvokeServerBusyException() - Constructor for exception com.alipay.remoting.rpc.exception.InvokeServerBusyException
Default constructor.
InvokeServerBusyException(String) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeServerBusyException
 
InvokeServerBusyException(String, Throwable) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeServerBusyException
 
InvokeServerException - Exception in com.alipay.remoting.rpc.exception
Server exception caught when invoking
InvokeServerException() - Constructor for exception com.alipay.remoting.rpc.exception.InvokeServerException
Default constructor.
InvokeServerException(String) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeServerException
 
InvokeServerException(String, Throwable) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeServerException
 
invokeSync(Connection, RemotingCommand, int) - Method in class com.alipay.remoting.BaseRemoting
Synchronous invocation
invokeSync(String, Object, int) - Method in class com.alipay.remoting.rpc.RpcClient
Synchronous invocation using a string address, address format example - 127.0.0.1:12200?
invokeSync(String, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClient
Synchronous invocation with a InvokeContext, common api notice please see RpcClient.invokeSync(String, Object, int)
invokeSync(Url, Object, int) - Method in class com.alipay.remoting.rpc.RpcClient
Synchronous invocation using a parsed Url
Notice:
DO NOT modify the request object concurrently when this method is called.
invokeSync(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClient
Synchronous invocation with a InvokeContext, common api notice please see RpcClient.invokeSync(Url, Object, int)
invokeSync(Connection, Object, int) - Method in class com.alipay.remoting.rpc.RpcClient
Synchronous invocation using a Connection
Notice:
DO NOT modify the request object concurrently when this method is called.
invokeSync(Connection, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClient
Synchronous invocation with a InvokeContext, common api notice please see RpcClient.invokeSync(Connection, Object, int)
invokeSync(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClientRemoting
 
invokeSync(String, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Synchronous rpc invocation.
invokeSync(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Synchronous rpc invocation.
invokeSync(Connection, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Synchronous rpc invocation.
invokeSync(String, Object, int) - Method in class com.alipay.remoting.rpc.RpcServer
Synchronous invocation using a string address, address format example - 127.0.0.1:12200?
invokeSync(String, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServer
Synchronous invocation with a InvokeContext, common api notice please see RpcServer.invokeSync(String, Object, int)
invokeSync(Url, Object, int) - Method in class com.alipay.remoting.rpc.RpcServer
Synchronous invocation using a parsed Url
Notice:
DO NOT modify the request object concurrently when this method is called.
invokeSync(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServer
Synchronous invocation with a InvokeContext, common api notice please see RpcServer.invokeSync(Url, Object, int)
invokeSync(Connection, Object, int) - Method in class com.alipay.remoting.rpc.RpcServer
Synchronous invocation using a Connection
Notice:
DO NOT modify the request object concurrently when this method is called.
invokeSync(Connection, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServer
Synchronous invocation with a InvokeContext, common api notice please see RpcServer.invokeSync(Connection, Object, int)
invokeSync(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServerRemoting
 
InvokeTimeoutException - Exception in com.alipay.remoting.rpc.exception
Exception when invoke timeout
InvokeTimeoutException() - Constructor for exception com.alipay.remoting.rpc.exception.InvokeTimeoutException
Default constructor.
InvokeTimeoutException(String) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeTimeoutException
 
InvokeTimeoutException(String, Throwable) - Constructor for exception com.alipay.remoting.rpc.exception.InvokeTimeoutException
 
invokeWithCallback(Connection, RemotingCommand, InvokeCallback, int) - Method in class com.alipay.remoting.BaseRemoting
Invocation with callback.
invokeWithCallback(String, Object, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcClient
Callback invocation using a string address, address format example - 127.0.0.1:12200?
invokeWithCallback(String, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcClient
Callback invocation with a InvokeContext, common api notice please see RpcClient.invokeWithCallback(String, Object, InvokeCallback, int)
invokeWithCallback(Url, Object, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcClient
Callback invocation using a parsed Url
You can specify an implementation of InvokeCallback to get the result.
invokeWithCallback(Url, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcClient
Callback invocation with a InvokeContext, common api notice please see RpcClient.invokeWithCallback(Url, Object, InvokeCallback, int)
invokeWithCallback(Connection, Object, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcClient
Callback invocation using a Connection
You can specify an implementation of InvokeCallback to get the result.
invokeWithCallback(Connection, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcClient
Callback invocation with a InvokeContext, common api notice please see RpcClient.invokeWithCallback(Connection, Object, InvokeCallback, int)
invokeWithCallback(Url, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcClientRemoting
 
invokeWithCallback(String, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Rpc invocation with callback.
invokeWithCallback(Url, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Rpc invocation with callback.
invokeWithCallback(Connection, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Rpc invocation with callback.
invokeWithCallback(String, Object, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcServer
Callback invocation using a string address, address format example - 127.0.0.1:12200?
invokeWithCallback(String, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcServer
Callback invocation with a InvokeContext, common api notice please see RpcServer.invokeWithCallback(String, Object, InvokeCallback, int)
invokeWithCallback(Url, Object, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcServer
Callback invocation using a parsed Url
You can specify an implementation of InvokeCallback to get the result.
invokeWithCallback(Url, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcServer
Callback invocation with a InvokeContext, common api notice please see RpcServer.invokeWithCallback(Url, Object, InvokeCallback, int)
invokeWithCallback(Connection, Object, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcServer
Callback invocation using a Connection
You can specify an implementation of InvokeCallback to get the result.
invokeWithCallback(Connection, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcServer
Callback invocation with a InvokeContext, common api notice please see RpcServer.invokeWithCallback(Connection, Object, InvokeCallback, int)
invokeWithCallback(Url, Object, InvokeContext, InvokeCallback, int) - Method in class com.alipay.remoting.rpc.RpcServerRemoting
 
invokeWithFuture(Connection, RemotingCommand, int) - Method in class com.alipay.remoting.BaseRemoting
Invocation with future returned.
invokeWithFuture(String, Object, int) - Method in class com.alipay.remoting.rpc.RpcClient
Future invocation using a string address, address format example - 127.0.0.1:12200?
invokeWithFuture(String, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClient
Future invocation with a InvokeContext, common api notice please see RpcClient.invokeWithFuture(String, Object, int)
invokeWithFuture(Url, Object, int) - Method in class com.alipay.remoting.rpc.RpcClient
Future invocation using a parsed Url
You can get result use the returned RpcResponseFuture.
invokeWithFuture(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClient
Future invocation with a InvokeContext, common api notice please see RpcClient.invokeWithFuture(Url, Object, int)
invokeWithFuture(Connection, Object, int) - Method in class com.alipay.remoting.rpc.RpcClient
Future invocation using a Connection
You can get result use the returned RpcResponseFuture.
invokeWithFuture(Connection, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClient
Future invocation with a InvokeContext, common api notice please see RpcClient.invokeWithFuture(Connection, Object, int)
invokeWithFuture(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcClientRemoting
 
invokeWithFuture(String, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Rpc invocation with future returned.
invokeWithFuture(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Rpc invocation with future returned.
invokeWithFuture(Connection, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Rpc invocation with future returned.
invokeWithFuture(String, Object, int) - Method in class com.alipay.remoting.rpc.RpcServer
Future invocation using a string address, address format example - 127.0.0.1:12200?
invokeWithFuture(String, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServer
Future invocation with a InvokeContext, common api notice please see RpcServer.invokeWithFuture(String, Object, int)
invokeWithFuture(Url, Object, int) - Method in class com.alipay.remoting.rpc.RpcServer
Future invocation using a parsed Url
You can get result use the returned RpcResponseFuture.
invokeWithFuture(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServer
Future invocation with a InvokeContext, common api notice please see RpcServer.invokeWithFuture(Url, Object, int)
invokeWithFuture(Connection, Object, int) - Method in class com.alipay.remoting.rpc.RpcServer
Future invocation using a Connection
You can get result use the returned RpcResponseFuture.
invokeWithFuture(Connection, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServer
Future invocation with a InvokeContext, common api notice please see RpcServer.invokeWithFuture(Connection, Object, int)
invokeWithFuture(Url, Object, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcServerRemoting
 
isAsyncCreationDone() - Method in class com.alipay.remoting.ConnectionPool
is async create connection done
isBlank(CharSequence) - Static method in class com.alipay.remoting.util.StringUtils
 
isCollected - Static variable in class com.alipay.remoting.Url
for unit test only, indicate this object have already been GCed
isConnected(String) - Method in class com.alipay.remoting.rpc.RpcServer
check whether a client address connected
isConnected(Url) - Method in class com.alipay.remoting.rpc.RpcServer
check whether a Url connected
isConnectionMonitorSwitchOn() - Method in class com.alipay.remoting.rpc.RpcClient
is connection monitor switch on
isConnWarmup() - Method in class com.alipay.remoting.Url
 
isDone() - Method in interface com.alipay.remoting.InvokeFuture
Whether the future is done.
isDone() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
isDone() - Method in class com.alipay.remoting.rpc.RpcResponseFuture
Whether the future is done.
isEmpty() - Method in class com.alipay.remoting.ConnectionPool
is connection pool empty
isEmpty(CharSequence) - Static method in class com.alipay.remoting.util.StringUtils
 
isFine() - Method in class com.alipay.remoting.Connection
to check whether the connection is fine to use
isInvokeFutureMapFinish() - Method in class com.alipay.remoting.Connection
Whether invokeFutures is completed
isNotBlank(CharSequence) - Static method in class com.alipay.remoting.util.StringUtils
 
isNotEmpty(CharSequence) - Static method in class com.alipay.remoting.util.StringUtils
 
isNumeric(String) - Static method in class com.alipay.remoting.util.StringUtils
 
isOn(int) - Method in class com.alipay.remoting.util.GlobalSwitch
 
isOn(int) - Method in class com.alipay.remoting.util.ProtocolSwitch
 
isOn(int, int) - Static method in class com.alipay.remoting.util.ProtocolSwitch
check switch status whether on according to specified value
isOn(int) - Method in interface com.alipay.remoting.util.Switch
check switch whether on
isReconnectSwitchOn() - Method in class com.alipay.remoting.rpc.RpcClient
is reconnect switch on
isRequestTimeout() - Method in interface com.alipay.remoting.BizContext
check whether request already timeout
isRequestTimeout() - Method in class com.alipay.remoting.DefaultBizContext
 
isRequestTimeout() - Method in class com.alipay.remoting.RemotingContext
whether this request already timeout
isServerSide() - Method in exception com.alipay.remoting.exception.DeserializationException
Getter method for property serverSide.
isServerSide() - Method in exception com.alipay.remoting.exception.SerializationException
Getter method for property serverSide.
isServerSide() - Method in class com.alipay.remoting.RemotingContext
The server side
isSingleDecode() - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
If true then only one message is decoded on each AbstractBatchDecoder.channelRead(ChannelHandlerContext, Object) call.
isTimeoutDiscard() - Method in class com.alipay.remoting.RemotingContext
 
iterator() - Method in class com.alipay.remoting.util.ConcurrentHashSet
 

L

launderThrowable(Throwable) - Static method in class com.alipay.remoting.util.FutureTaskUtil
launder the throwable
length() - Method in class com.alipay.remoting.ProtocolCode
 

M

markAsyncCreationDone() - Method in class com.alipay.remoting.ConnectionPool
do mark async create connection done
markAsyncCreationStart() - Method in class com.alipay.remoting.ConnectionPool
do mark async create connection start
MAX_CONN_NUM_PER_URL - Static variable in class com.alipay.remoting.Configs
max connection number of each url
maxCount - Static variable in class com.alipay.remoting.rpc.protocol.RpcHeartbeatTrigger
max trigger times
MERGE_CUMULATOR - Static variable in class com.alipay.remoting.codec.AbstractBatchDecoder
Cumulate ByteBufs by merge them into one ByteBuf's, using memory copies.
MIN_PROTOCOL_CODE_WITH_VERSION - Static variable in class com.alipay.remoting.rpc.protocol.RpcProtocolDecoder
 
monitor(Map<String, RunStateRecordedFutureTask<ConnectionPool>>) - Method in interface com.alipay.remoting.ConnectionMonitorStrategy
Add a set of connections to monitor.
monitor(Map<String, RunStateRecordedFutureTask<ConnectionPool>>) - Method in class com.alipay.remoting.ScheduledDisconnectStrategy
Monitor connections and close connections with status is off

N

NamedThreadFactory - Class in com.alipay.remoting
Thread factory to name the thread purposely
NamedThreadFactory() - Constructor for class com.alipay.remoting.NamedThreadFactory
 
NamedThreadFactory(String) - Constructor for class com.alipay.remoting.NamedThreadFactory
 
NamedThreadFactory(String, boolean) - Constructor for class com.alipay.remoting.NamedThreadFactory
 
NETTY_BUFFER_HIGH_WATERMARK - Static variable in class com.alipay.remoting.Configs
Netty buffer high watermark
netty_buffer_high_watermark() - Static method in class com.alipay.remoting.SystemProperties
 
NETTY_BUFFER_HIGH_WATERMARK_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
NETTY_BUFFER_LOW_WATERMARK - Static variable in class com.alipay.remoting.Configs
Netty buffer low watermark
netty_buffer_low_watermark() - Static method in class com.alipay.remoting.SystemProperties
 
NETTY_BUFFER_LOW_WATERMARK_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
NETTY_BUFFER_POOLED - Static variable in class com.alipay.remoting.Configs
Netty buffer allocator
netty_buffer_pooled() - Static method in class com.alipay.remoting.SystemProperties
 
NETTY_BUFFER_POOLED_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
NETTY_IO_RATIO - Static variable in class com.alipay.remoting.Configs
Netty ioRatio option
netty_io_ratio() - Static method in class com.alipay.remoting.SystemProperties
 
NETTY_IO_RATIO_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
newThread(Runnable) - Method in class com.alipay.remoting.NamedThreadFactory
Create a thread.
nextId() - Static method in class com.alipay.remoting.util.IDGenerator
generate the next id
noRef() - Method in class com.alipay.remoting.Connection
to check whether the reference count is 0

O

onClose() - Method in class com.alipay.remoting.Connection
Do something when closing.
onEvent(Runnable) - Method in class com.alipay.remoting.ConnectionEventHandler.ConnectionEventExecutor
Process event.
onEvent(ConnectionEventType, String, Connection) - Method in class com.alipay.remoting.ConnectionEventListener
Dispatch events.
onEvent(String, Connection) - Method in interface com.alipay.remoting.ConnectionEventProcessor
Process event.
oneway(Connection, RemotingCommand) - Method in class com.alipay.remoting.BaseRemoting
Oneway invocation.
oneway(String, Object) - Method in class com.alipay.remoting.rpc.RpcClient
One way invocation using a string address, address format example - 127.0.0.1:12200?
oneway(String, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcClient
Oneway invocation with a InvokeContext, common api notice please see RpcClient.oneway(Connection, Object)
oneway(Url, Object) - Method in class com.alipay.remoting.rpc.RpcClient
One way invocation using a parsed Url
Notice:
DO NOT modify the request object concurrently when this method is called.
oneway(Url, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcClient
Oneway invocation with a InvokeContext, common api notice please see RpcClient.oneway(Url, Object)
oneway(Connection, Object) - Method in class com.alipay.remoting.rpc.RpcClient
One way invocation using a Connection
Notice:
DO NOT modify the request object concurrently when this method is called.
oneway(Connection, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcClient
Oneway invocation with a InvokeContext, common api notice please see RpcClient.oneway(Connection, Object)
oneway(Url, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcClientRemoting
 
oneway(String, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcRemoting
Oneway rpc invocation.
oneway(Url, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcRemoting
Oneway rpc invocation.
oneway(Connection, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcRemoting
Oneway rpc invocation.
oneway(String, Object) - Method in class com.alipay.remoting.rpc.RpcServer
One way invocation using a string address, address format example - 127.0.0.1:12200?
oneway(String, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcServer
One way invocation with a InvokeContext, common api notice please see RpcServer.oneway(String, Object)
oneway(Url, Object) - Method in class com.alipay.remoting.rpc.RpcServer
One way invocation using a parsed Url
Notice:
DO NOT modify the request object concurrently when this method is called.
oneway(Url, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcServer
One way invocation with a InvokeContext, common api notice please see RpcServer.oneway(Url, Object)
oneway(Connection, Object) - Method in class com.alipay.remoting.rpc.RpcServer
One way invocation using a Connection
Notice:
DO NOT modify the request object concurrently when this method is called.
oneway(Connection, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcServer
One way invocation with a InvokeContext, common api notice please see RpcServer.oneway(Connection, Object)
oneway(Url, Object, InvokeContext) - Method in class com.alipay.remoting.rpc.RpcServerRemoting
 
onException(Throwable) - Method in interface com.alipay.remoting.InvokeCallback
Exception caught.
onResponse(Object) - Method in interface com.alipay.remoting.InvokeCallback
Response received.
onResponse(InvokeFuture) - Method in interface com.alipay.remoting.InvokeCallbackListener
Response arrived.
onResponse(InvokeFuture) - Method in class com.alipay.remoting.rpc.RpcInvokeCallbackListener
 

P

parse(String) - Method in interface com.alipay.remoting.RemotingAddressParser
Parse a simple string url to get Url
parse(String) - Method in class com.alipay.remoting.rpc.RpcAddressParser
 
parsedUrls - Static variable in class com.alipay.remoting.Url
Use SoftReference to cache parsed urls.
parseLocalAddress(Channel) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the local address of the channel.
parseLocalIP(Channel) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the local host ip of the channel.
parseLocalPort(Channel) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the local host port of the channel.
parseProperty(String, String) - Method in interface com.alipay.remoting.RemotingAddressParser
Parse to get property value according to specified property key
parseProperty(String, String) - Method in class com.alipay.remoting.rpc.RpcAddressParser
 
parseRemoteAddress(Channel) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the remote address of the channel.
parseRemoteHostName(Channel) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the remote hostname of the channel.
parseRemoteIP(Channel) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the remote host ip of the channel.
parseRemotePort(Channel) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the remote host port of the channel.
parseSocketAddressToHostIp(SocketAddress) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the host ip of socket address.
parseSocketAddressToString(SocketAddress) - Static method in class com.alipay.remoting.util.RemotingUtil
Parse the socket address, omit the leading "/" if present.
parseUniqueKey(String) - Method in interface com.alipay.remoting.RemotingAddressParser
Parse a simple string url to get a unique key of a certain address
parseUniqueKey(String) - Method in class com.alipay.remoting.rpc.RpcAddressParser
 
port - Variable in class com.alipay.remoting.RemotingServer
 
preHandleRequest(RemotingContext, T) - Method in class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
Provide a default - DefaultBizContext implementation of BizContext.
preHandleRequest(RemotingContext, T) - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Pre handle request, to avoid expose RemotingContext directly to biz handle request logic.
preProcessInvokeContext(InvokeContext, RemotingCommand, Connection) - Method in class com.alipay.remoting.rpc.RpcClientRemoting
 
preProcessInvokeContext(InvokeContext, RemotingCommand, Connection) - Method in class com.alipay.remoting.rpc.RpcRemoting
 
preProcessInvokeContext(InvokeContext, RemotingCommand, Connection) - Method in class com.alipay.remoting.rpc.RpcServerRemoting
 
printConnectionTraceLog(Logger, String, InvokeContext) - Static method in class com.alipay.remoting.util.TraceLogUtil
print trace log
process(RemotingContext, T, ExecutorService) - Method in class com.alipay.remoting.AbstractRemotingProcessor
Process the remoting command with its own executor or with the defaultExecutor if its own if null.
process(RemotingContext, T, ExecutorService) - Method in interface com.alipay.remoting.RemotingProcessor
Process the remoting command.
process(RemotingContext, RpcRequestCommand, ExecutorService) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestProcessor
 
processInIOThread() - Method in class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
By default, return false, means not deserialize and process biz logic in io thread
processInIOThread() - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Whether deserialize and process biz logic in io thread.
ProcessorManager - Class in com.alipay.remoting
Manager of processors
Maintains the relationship between command and command processor through command code.
ProcessorManager() - Constructor for class com.alipay.remoting.ProcessorManager
 
PROTOCOL - Static variable in class com.alipay.remoting.Connection
Attribute key for protocol
Protocol - Interface in com.alipay.remoting
A protocol contains a group of commands.
PROTOCOL_CODE - Static variable in class com.alipay.remoting.rpc.protocol.RpcProtocol
 
PROTOCOL_CODE - Static variable in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
PROTOCOL_VERSION_1 - Static variable in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
version 1, is the same with RpcProtocol
PROTOCOL_VERSION_2 - Static variable in class com.alipay.remoting.rpc.protocol.RpcProtocolV2
version 2, is the protocol version for RpcProtocolV2
ProtocolCode - Class in com.alipay.remoting
Protocol code definition, you can define your own protocol code in byte array ProtocolCode.version We suggest to use just one byte for simplicity.
ProtocolCodeBasedDecoder - Class in com.alipay.remoting.codec
Protocol code based decoder, the main decoder for a certain protocol, which is lead by one or multi bytes (magic code).
ProtocolCodeBasedDecoder(int) - Constructor for class com.alipay.remoting.codec.ProtocolCodeBasedDecoder
 
ProtocolCodeBasedEncoder - Class in com.alipay.remoting.codec
Protocol code based encoder, the main encoder for a certain protocol, which is lead by one or multi bytes (magic code).
ProtocolCodeBasedEncoder(ProtocolCode) - Constructor for class com.alipay.remoting.codec.ProtocolCodeBasedEncoder
 
protocolCodeLength - Variable in class com.alipay.remoting.codec.ProtocolCodeBasedDecoder
the length of protocol code
ProtocolManager - Class in com.alipay.remoting
Manager of all protocols
ProtocolManager() - Constructor for class com.alipay.remoting.ProtocolManager
 
ProtocolSwitch - Class in com.alipay.remoting.util
Switches used in protocol
ProtocolSwitch() - Constructor for class com.alipay.remoting.util.ProtocolSwitch
 
put(String, String) - Method in interface com.alipay.remoting.BizContext
put a key and value
put(String, String) - Method in class com.alipay.remoting.DefaultBizContext
 
put(String, Object) - Method in class com.alipay.remoting.InvokeContext
put
putIfAbsent(String, Object) - Method in class com.alipay.remoting.InvokeContext
put if absent
putResponse(RemotingCommand) - Method in interface com.alipay.remoting.InvokeFuture
Put the response to the future.
putResponse(RemotingCommand) - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 

Q

QUES - Static variable in interface com.alipay.remoting.RemotingAddressParser
symbol ?

R

RandomSelectStrategy - Class in com.alipay.remoting
Select a connection randomly
RandomSelectStrategy() - Constructor for class com.alipay.remoting.RandomSelectStrategy
 
RandomSelectStrategy(GlobalSwitch) - Constructor for class com.alipay.remoting.RandomSelectStrategy
 
ReconnectManager - Class in com.alipay.remoting
Reconnect manager.
ReconnectManager(ConnectionManager) - Constructor for class com.alipay.remoting.ReconnectManager
 
registerCustomSerializer(String, CustomSerializer) - Static method in class com.alipay.remoting.CustomSerializerManager
Register custom serializer for class name.
registerCustomSerializer(CommandCode, CustomSerializer) - Static method in class com.alipay.remoting.CustomSerializerManager
Register custom serializer for command code.
registerDefaultExecutor(ExecutorService) - Method in interface com.alipay.remoting.CommandHandler
Register default executor for the handler.
registerDefaultExecutor(ExecutorService) - Method in class com.alipay.remoting.ProcessorManager
Set the default executor.
registerDefaultExecutor(byte, ExecutorService) - Method in class com.alipay.remoting.RemotingServer
Register default executor service for server.
registerDefaultExecutor(ExecutorService) - Method in class com.alipay.remoting.rpc.protocol.RpcCommandHandler
 
registerDefaultExecutor(byte, ExecutorService) - Method in class com.alipay.remoting.rpc.RpcServer
 
registerDefaultProcessor(RemotingProcessor<?>) - Method in class com.alipay.remoting.ProcessorManager
Register the default processor to process command with no specific processor registered.
registerProcessor(CommandCode, RemotingProcessor<?>) - Method in interface com.alipay.remoting.CommandHandler
Register processor for command with specified code.
registerProcessor(CommandCode, RemotingProcessor<?>) - Method in class com.alipay.remoting.ProcessorManager
Register processor to process command that has the command code of cmdCode.
registerProcessor(byte, CommandCode, RemotingProcessor<?>) - Method in class com.alipay.remoting.RemotingServer
Register processor for command with the command code.
registerProcessor(CommandCode, RemotingProcessor) - Method in class com.alipay.remoting.rpc.protocol.RpcCommandHandler
 
registerProcessor(byte, CommandCode, RemotingProcessor<?>) - Method in class com.alipay.remoting.rpc.RpcServer
 
registerProtocol(Protocol, byte...) - Static method in class com.alipay.remoting.ProtocolManager
 
registerProtocol(Protocol, ProtocolCode) - Static method in class com.alipay.remoting.ProtocolManager
 
registerUserProcessor(UserProcessor<?>) - Method in interface com.alipay.remoting.ConnectionFactory
Register User processor
registerUserProcessor(UserProcessor<?>) - Method in class com.alipay.remoting.RemotingServer
Register user processor.
registerUserProcessor(UserProcessor<?>) - Method in class com.alipay.remoting.rpc.RpcClient
Register user processor for client side.
registerUserProcessor(UserProcessor<?>) - Method in class com.alipay.remoting.rpc.RpcConnectionFactory
 
registerUserProcessor(UserProcessor<?>) - Method in class com.alipay.remoting.rpc.RpcServer
 
reinit() - Static method in class com.alipay.remoting.util.GlobalSwitch
Reinit system settings.
RemotingAddressParser - Interface in com.alipay.remoting
Remoting address parser Implement this to generate a Url
RemotingCommand - Interface in com.alipay.remoting
Remoting command.
RemotingContext - Class in com.alipay.remoting
Wrap the ChannelHandlerContext.
RemotingContext(ChannelHandlerContext) - Constructor for class com.alipay.remoting.RemotingContext
Constructor.
RemotingContext(ChannelHandlerContext, boolean) - Constructor for class com.alipay.remoting.RemotingContext
Constructor.
RemotingContext(ChannelHandlerContext, boolean, ConcurrentHashMap<String, UserProcessor<?>>) - Constructor for class com.alipay.remoting.RemotingContext
Constructor.
RemotingContext(ChannelHandlerContext, InvokeContext, boolean, ConcurrentHashMap<String, UserProcessor<?>>) - Constructor for class com.alipay.remoting.RemotingContext
Constructor.
RemotingException - Exception in com.alipay.remoting.exception
Exception for default remoting problems
RemotingException() - Constructor for exception com.alipay.remoting.exception.RemotingException
Constructor.
RemotingException(String) - Constructor for exception com.alipay.remoting.exception.RemotingException
Constructor.
RemotingException(String, Throwable) - Constructor for exception com.alipay.remoting.exception.RemotingException
Constructor.
RemotingProcessor<T extends RemotingCommand> - Interface in com.alipay.remoting
Remoting processor processes remoting commands.
RemotingServer - Class in com.alipay.remoting
Server template for remoting.
RemotingServer(int) - Constructor for class com.alipay.remoting.RemotingServer
 
RemotingUtil - Class in com.alipay.remoting.util
Some utilities for remoting.
RemotingUtil() - Constructor for class com.alipay.remoting.util.RemotingUtil
 
remove(Connection) - Method in interface com.alipay.remoting.ConnectionManager
Remove a Connection from all ConnectionPool with the poolKeys in Connection, and close it.
remove(Connection, String) - Method in interface com.alipay.remoting.ConnectionManager
Remove and close a Connection from ConnectionPool with the specified poolKey.
remove(String) - Method in interface com.alipay.remoting.ConnectionManager
Remove and close all connections from ConnectionPool with the specified poolKey.
remove(Connection) - Method in class com.alipay.remoting.DefaultConnectionManager
 
remove(Connection, String) - Method in class com.alipay.remoting.DefaultConnectionManager
 
remove(String) - Method in class com.alipay.remoting.DefaultConnectionManager
 
remove(Object) - Method in class com.alipay.remoting.util.ConcurrentHashSet
 
removeAll() - Method in interface com.alipay.remoting.ConnectionManager
Remove and close all connections from all ConnectionPool.
removeAll() - Method in class com.alipay.remoting.DefaultConnectionManager
Warning!
removeAllAndTryClose() - Method in class com.alipay.remoting.ConnectionPool
remove all connections
removeAndTryClose(Connection) - Method in class com.alipay.remoting.ConnectionPool
removeAndTryClose a connection
removeAttribute(String) - Method in class com.alipay.remoting.Connection
Remove attribute.
removeCancelUrl(Url) - Method in class com.alipay.remoting.ReconnectManager
 
removeIdGroupCallbackMapping(Integer, Channel) - Static method in class com.alipay.remoting.util.ConnectionUtil
 
removeIdPoolKeyMapping(Integer) - Method in class com.alipay.remoting.Connection
remove id to group Mapping
removeIdPoolKeyMapping(Integer, Channel) - Static method in class com.alipay.remoting.util.ConnectionUtil
 
removeInvokeFuture(int) - Method in class com.alipay.remoting.Connection
Remove InvokeFuture who's invokeId is id
removePoolKey(String) - Method in class com.alipay.remoting.Connection
remove pool key
REQUEST - Static variable in class com.alipay.remoting.rpc.RpcCommandType
rpc request
REQUEST_ONEWAY - Static variable in class com.alipay.remoting.rpc.RpcCommandType
rpc oneway request
RequestCommand - Class in com.alipay.remoting.rpc
Command of request.
RequestCommand() - Constructor for class com.alipay.remoting.rpc.RequestCommand
 
RequestCommand(CommandCode) - Constructor for class com.alipay.remoting.rpc.RequestCommand
 
RequestCommand(byte, CommandCode) - Constructor for class com.alipay.remoting.rpc.RequestCommand
 
RequestCommand(byte, byte, CommandCode) - Constructor for class com.alipay.remoting.rpc.RequestCommand
 
resetId() - Static method in class com.alipay.remoting.util.IDGenerator
 
resolveResponseObject(ResponseCommand, String) - Static method in class com.alipay.remoting.rpc.RpcResponseResolver
Analyze the response command and generate the response object.
RESPONSE - Static variable in class com.alipay.remoting.rpc.RpcCommandType
rpc response
ResponseCommand - Class in com.alipay.remoting.rpc
Command of response.
ResponseCommand() - Constructor for class com.alipay.remoting.rpc.ResponseCommand
 
ResponseCommand(CommandCode) - Constructor for class com.alipay.remoting.rpc.ResponseCommand
 
ResponseCommand(int) - Constructor for class com.alipay.remoting.rpc.ResponseCommand
 
ResponseCommand(CommandCode, int) - Constructor for class com.alipay.remoting.rpc.ResponseCommand
 
ResponseCommand(byte, byte, CommandCode, int) - Constructor for class com.alipay.remoting.rpc.ResponseCommand
 
ResponseStatus - Enum in com.alipay.remoting
Status of the response.
RETRY_DETECT_PERIOD - Static variable in class com.alipay.remoting.Configs
Retry detect period for ScheduledDisconnectStrategy
retry_detect_period() - Static method in class com.alipay.remoting.SystemProperties
 
RETRY_DETECT_PERIOD_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
RpcAddressParser - Class in com.alipay.remoting.rpc
This is address parser for RPC.
RpcAddressParser() - Constructor for class com.alipay.remoting.rpc.RpcAddressParser
 
RpcAsyncContext - Class in com.alipay.remoting.rpc.protocol
Async biz context of Rpc.
RpcAsyncContext(RemotingContext, RpcRequestCommand, RpcRequestProcessor) - Constructor for class com.alipay.remoting.rpc.protocol.RpcAsyncContext
Default constructor.
RpcClient - Class in com.alipay.remoting.rpc
Client for Rpc.
RpcClient() - Constructor for class com.alipay.remoting.rpc.RpcClient
 
RpcClientRemoting - Class in com.alipay.remoting.rpc
Rpc client remoting
RpcClientRemoting(CommandFactory, RemotingAddressParser, DefaultConnectionManager) - Constructor for class com.alipay.remoting.rpc.RpcClientRemoting
 
RpcCommand - Class in com.alipay.remoting.rpc
Remoting command.
RpcCommand() - Constructor for class com.alipay.remoting.rpc.RpcCommand
 
RpcCommand(byte) - Constructor for class com.alipay.remoting.rpc.RpcCommand
 
RpcCommand(CommandCode) - Constructor for class com.alipay.remoting.rpc.RpcCommand
 
RpcCommand(byte, CommandCode) - Constructor for class com.alipay.remoting.rpc.RpcCommand
 
RpcCommand(byte, byte, CommandCode) - Constructor for class com.alipay.remoting.rpc.RpcCommand
 
RpcCommandCode - Enum in com.alipay.remoting.rpc.protocol
Command code for rpc remoting command.
RpcCommandDecoder - Class in com.alipay.remoting.rpc.protocol
Command decoder for Rpc.
RpcCommandDecoder() - Constructor for class com.alipay.remoting.rpc.protocol.RpcCommandDecoder
 
RpcCommandDecoderV2 - Class in com.alipay.remoting.rpc.protocol
Command decoder for Rpc v2.
RpcCommandDecoderV2() - Constructor for class com.alipay.remoting.rpc.protocol.RpcCommandDecoderV2
 
RpcCommandEncoder - Class in com.alipay.remoting.rpc.protocol
Encode remoting command into ByteBuf.
RpcCommandEncoder() - Constructor for class com.alipay.remoting.rpc.protocol.RpcCommandEncoder
 
RpcCommandEncoderV2 - Class in com.alipay.remoting.rpc.protocol
Encode remoting command into ByteBuf v2.
RpcCommandEncoderV2() - Constructor for class com.alipay.remoting.rpc.protocol.RpcCommandEncoderV2
 
RpcCommandFactory - Class in com.alipay.remoting.rpc
command factory for rpc protocol
RpcCommandFactory() - Constructor for class com.alipay.remoting.rpc.RpcCommandFactory
 
RpcCommandHandler - Class in com.alipay.remoting.rpc.protocol
Rpc command handler.
RpcCommandHandler(CommandFactory) - Constructor for class com.alipay.remoting.rpc.protocol.RpcCommandHandler
Constructor.
RpcCommandType - Class in com.alipay.remoting.rpc
The type of command in the request/response model.
RpcCommandType() - Constructor for class com.alipay.remoting.rpc.RpcCommandType
 
RpcConfigs - Class in com.alipay.remoting.rpc
Constants for rpc.
RpcConfigs() - Constructor for class com.alipay.remoting.rpc.RpcConfigs
 
RpcConnectionEventHandler - Class in com.alipay.remoting.rpc
ConnectionEventHandler for Rpc.
RpcConnectionEventHandler() - Constructor for class com.alipay.remoting.rpc.RpcConnectionEventHandler
 
RpcConnectionEventHandler(GlobalSwitch) - Constructor for class com.alipay.remoting.rpc.RpcConnectionEventHandler
 
RpcConnectionFactory - Class in com.alipay.remoting.rpc
Rpc connection factory, create rpc connections.
RpcConnectionFactory() - Constructor for class com.alipay.remoting.rpc.RpcConnectionFactory
 
RpcDeserializeLevel - Class in com.alipay.remoting.rpc.protocol
Rpc deserialize level.
RpcDeserializeLevel() - Constructor for class com.alipay.remoting.rpc.protocol.RpcDeserializeLevel
 
RpcHandler - Class in com.alipay.remoting.rpc
Dispatch messages to corresponding protocol.
RpcHandler() - Constructor for class com.alipay.remoting.rpc.RpcHandler
 
RpcHandler(ConcurrentHashMap<String, UserProcessor<?>>) - Constructor for class com.alipay.remoting.rpc.RpcHandler
 
RpcHandler(boolean, ConcurrentHashMap<String, UserProcessor<?>>) - Constructor for class com.alipay.remoting.rpc.RpcHandler
 
RpcHeartBeatProcessor - Class in com.alipay.remoting.rpc.protocol
Processor for heart beat.
RpcHeartBeatProcessor() - Constructor for class com.alipay.remoting.rpc.protocol.RpcHeartBeatProcessor
 
RpcHeartbeatTrigger - Class in com.alipay.remoting.rpc.protocol
Handler for heart beat.
RpcHeartbeatTrigger(CommandFactory) - Constructor for class com.alipay.remoting.rpc.protocol.RpcHeartbeatTrigger
 
RpcInvokeCallbackListener - Class in com.alipay.remoting.rpc
Listener which listens the Rpc invoke result, and then invokes the call back.
RpcInvokeCallbackListener() - Constructor for class com.alipay.remoting.rpc.RpcInvokeCallbackListener
 
RpcInvokeCallbackListener(String) - Constructor for class com.alipay.remoting.rpc.RpcInvokeCallbackListener
 
RpcProtocol - Class in com.alipay.remoting.rpc.protocol
Request command protocol for v1 0 1 2 4 6 8 10 12 14 16 +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ |proto| type| cmdcode |ver2 | requestId |codec| timeout | classLen | +-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+ |headerLen | contentLen |
RpcProtocol() - Constructor for class com.alipay.remoting.rpc.protocol.RpcProtocol
 
RpcProtocolDecoder - Class in com.alipay.remoting.rpc.protocol
 
RpcProtocolDecoder(int) - Constructor for class com.alipay.remoting.rpc.protocol.RpcProtocolDecoder
 
RpcProtocolManager - Class in com.alipay.remoting.rpc.protocol
 
RpcProtocolManager() - Constructor for class com.alipay.remoting.rpc.protocol.RpcProtocolManager
 
RpcProtocolV2 - Class in com.alipay.remoting.rpc.protocol
Request command protocol for v2 0 1 2 4 6 8 10 11 12 14 16 +-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+------+-----+-----+-----+-----+ |proto| ver1|type | cmdcode |ver2 | requestId |codec|switch| timeout | +-----------+-----------+-----------+-----------+-----------+------------+-----------+-----------+ |classLen |headerLen |contentLen |
RpcProtocolV2() - Constructor for class com.alipay.remoting.rpc.protocol.RpcProtocolV2
 
rpcRemoting - Variable in class com.alipay.remoting.rpc.RpcClient
rpc remoting
RpcRemoting - Class in com.alipay.remoting.rpc
Rpc remoting capability.
RpcRemoting(CommandFactory) - Constructor for class com.alipay.remoting.rpc.RpcRemoting
default constructor
RpcRemoting(CommandFactory, RemotingAddressParser, DefaultConnectionManager) - Constructor for class com.alipay.remoting.rpc.RpcRemoting
 
rpcRemoting - Variable in class com.alipay.remoting.rpc.RpcServer
rpc remoting
RpcRequestCommand - Class in com.alipay.remoting.rpc.protocol
Request command for Rpc.
RpcRequestCommand() - Constructor for class com.alipay.remoting.rpc.protocol.RpcRequestCommand
create request command without id
RpcRequestCommand(Object) - Constructor for class com.alipay.remoting.rpc.protocol.RpcRequestCommand
create request command with id and request object
RpcRequestProcessor - Class in com.alipay.remoting.rpc.protocol
Process Rpc request.
RpcRequestProcessor() - Constructor for class com.alipay.remoting.rpc.protocol.RpcRequestProcessor
Default constructor.
RpcRequestProcessor(CommandFactory) - Constructor for class com.alipay.remoting.rpc.protocol.RpcRequestProcessor
Constructor.
RpcRequestProcessor(ExecutorService) - Constructor for class com.alipay.remoting.rpc.protocol.RpcRequestProcessor
 
RpcResponseCommand - Class in com.alipay.remoting.rpc.protocol
Response command for Rpc.
RpcResponseCommand() - Constructor for class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
RpcResponseCommand(Object) - Constructor for class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
RpcResponseCommand(int, Object) - Constructor for class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
RpcResponseFuture - Class in com.alipay.remoting.rpc
The future for response.
RpcResponseFuture(String, InvokeFuture) - Constructor for class com.alipay.remoting.rpc.RpcResponseFuture
Constructor
RpcResponseProcessor - Class in com.alipay.remoting.rpc.protocol
Processor to process RpcResponse.
RpcResponseProcessor() - Constructor for class com.alipay.remoting.rpc.protocol.RpcResponseProcessor
Default constructor.
RpcResponseProcessor(ExecutorService) - Constructor for class com.alipay.remoting.rpc.protocol.RpcResponseProcessor
 
RpcResponseResolver - Class in com.alipay.remoting.rpc
Resolve response object from response command.
RpcResponseResolver() - Constructor for class com.alipay.remoting.rpc.RpcResponseResolver
 
RpcServer - Class in com.alipay.remoting.rpc
Server for Rpc.
RpcServer(int) - Constructor for class com.alipay.remoting.rpc.RpcServer
Construct a rpc server.
RpcServer(int, boolean) - Constructor for class com.alipay.remoting.rpc.RpcServer
Construct a rpc server.
RpcServer(int, boolean, boolean) - Constructor for class com.alipay.remoting.rpc.RpcServer
Construct a rpc server.
RpcServerException - Exception in com.alipay.remoting.rpc.exception
Rpc server exception when processing request
RpcServerException() - Constructor for exception com.alipay.remoting.rpc.exception.RpcServerException
Default constructor.
RpcServerException(String) - Constructor for exception com.alipay.remoting.rpc.exception.RpcServerException
 
RpcServerException(String, Throwable) - Constructor for exception com.alipay.remoting.rpc.exception.RpcServerException
 
RpcServerRemoting - Class in com.alipay.remoting.rpc
Rpc server remoting
RpcServerRemoting(CommandFactory) - Constructor for class com.alipay.remoting.rpc.RpcServerRemoting
default constructor
RpcServerRemoting(CommandFactory, RemotingAddressParser, DefaultConnectionManager) - Constructor for class com.alipay.remoting.rpc.RpcServerRemoting
 
RpcTaskScanner - Class in com.alipay.remoting.rpc
Scanner is used to do scan task.
RpcTaskScanner() - Constructor for class com.alipay.remoting.rpc.RpcTaskScanner
 
run() - Method in class com.alipay.remoting.util.RunStateRecordedFutureTask
 
RunStateRecordedFutureTask<V> - Class in com.alipay.remoting.util
A customized FutureTask which can record whether the run method has been called.
RunStateRecordedFutureTask(Callable<V>) - Constructor for class com.alipay.remoting.util.RunStateRecordedFutureTask
 

S

scan() - Method in class com.alipay.remoting.ConnectionPool
 
scan() - Method in class com.alipay.remoting.DefaultConnectionManager
in case of cache pollution and connection leak, to do schedule scan
scan() - Method in interface com.alipay.remoting.Scannable
Scan it.
Scannable - Interface in com.alipay.remoting
Can be scanned.
ScheduledDisconnectStrategy - Class in com.alipay.remoting
An implemented strategy to monitor connections: each time scheduled, filter connections with Configs.CONN_SERVICE_STATUS_OFF at first.
ScheduledDisconnectStrategy() - Constructor for class com.alipay.remoting.ScheduledDisconnectStrategy
 
select(List<Connection>) - Method in interface com.alipay.remoting.ConnectionSelectStrategy
select strategy
select(List<Connection>) - Method in class com.alipay.remoting.RandomSelectStrategy
 
select(String, Object) - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor.ExecutorSelector
 
sendResponse(Object) - Method in interface com.alipay.remoting.AsyncContext
send response back
sendResponse(Object) - Method in class com.alipay.remoting.rpc.protocol.RpcAsyncContext
 
sendResponseIfNecessary(RemotingContext, byte, RemotingCommand) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestProcessor
Send response using remoting context if necessary.
SerializationException - Exception in com.alipay.remoting.exception
Exception when serialize failed
SerializationException() - Constructor for exception com.alipay.remoting.exception.SerializationException
Constructor.
SerializationException(String) - Constructor for exception com.alipay.remoting.exception.SerializationException
Constructor.
SerializationException(String, boolean) - Constructor for exception com.alipay.remoting.exception.SerializationException
Constructor.
SerializationException(String, Throwable) - Constructor for exception com.alipay.remoting.exception.SerializationException
Constructor.
SerializationException(String, Throwable, boolean) - Constructor for exception com.alipay.remoting.exception.SerializationException
Constructor.
serialize() - Method in interface com.alipay.remoting.RemotingCommand
Serialize all parts of remoting command
serialize() - Method in class com.alipay.remoting.rpc.RpcCommand
Serialize the class header and content.
serialize(Object) - Method in class com.alipay.remoting.serialization.HessianSerializer
 
serialize(Object) - Method in interface com.alipay.remoting.serialization.Serializer
Encode object into bytes.
serializeClazz() - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
 
serializeClazz() - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
serializeClazz() - Method in class com.alipay.remoting.rpc.RpcCommand
Serialize content class.
serializeContent(T, InvokeContext) - Method in interface com.alipay.remoting.CustomSerializer
Serialize the content of RequestCommand.
serializeContent(T) - Method in interface com.alipay.remoting.CustomSerializer
Serialize the content of ResponseCommand.
serializeContent(T, InvokeContext) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
serializeContent(T) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
serializeContent(InvokeContext) - Method in interface com.alipay.remoting.RemotingCommand
Serialize content of remoting command
serializeContent(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
 
serializeContent(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
serializeContent(InvokeContext) - Method in class com.alipay.remoting.rpc.RpcCommand
Serialize the content.
serializeHeader(T, InvokeContext) - Method in interface com.alipay.remoting.CustomSerializer
Serialize the header of RequestCommand.
serializeHeader(T) - Method in interface com.alipay.remoting.CustomSerializer
Serialize the header of ResponseCommand.
serializeHeader(T, InvokeContext) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
serializeHeader(T) - Method in class com.alipay.remoting.DefaultCustomSerializer
 
serializeHeader(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
 
serializeHeader(InvokeContext) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
 
serializeHeader(InvokeContext) - Method in class com.alipay.remoting.rpc.RpcCommand
Serialize the header.
SERIALIZER - Static variable in class com.alipay.remoting.Configs
Codec type
Serializer - Interface in com.alipay.remoting.serialization
Serializer for serialize and deserialize.
serializer - Static variable in class com.alipay.remoting.SystemProperties
 
serializer() - Static method in class com.alipay.remoting.SystemProperties
 
SERIALIZER_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
SerializerManager - Class in com.alipay.remoting.serialization
Manage all serializers.
SerializerManager() - Constructor for class com.alipay.remoting.serialization.SerializerManager
 
SERVER_LOCAL_IP - Static variable in class com.alipay.remoting.InvokeContext
 
SERVER_LOCAL_PORT - Static variable in class com.alipay.remoting.InvokeContext
 
SERVER_MANAGE_CONNECTION_SWITCH - Static variable in class com.alipay.remoting.util.GlobalSwitch
 
SERVER_REMOTE_IP - Static variable in class com.alipay.remoting.InvokeContext
 
SERVER_REMOTE_PORT - Static variable in class com.alipay.remoting.InvokeContext
 
SERVER_SYNC_STOP - Static variable in class com.alipay.remoting.util.GlobalSwitch
 
ServerIdleHandler - Class in com.alipay.remoting
Server Idle handler.
ServerIdleHandler() - Constructor for class com.alipay.remoting.ServerIdleHandler
 
setAddressParser(RemotingAddressParser) - Method in class com.alipay.remoting.DefaultConnectionManager
Setter method for property addressParser.
setAddressParser(RemotingAddressParser) - Method in class com.alipay.remoting.rpc.RpcClient
Setter method for property addressParser.
setAddressParser(RemotingAddressParser) - Method in class com.alipay.remoting.rpc.RpcServer
Setter method for property addressParser.
setArriveTime(long) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Setter method for property arriveTime.
setArriveTimestamp(long) - Method in class com.alipay.remoting.RemotingContext
Setter method for property arriveTimestamp.
setAttribute(String, Object) - Method in class com.alipay.remoting.Connection
Set attribute key=value.
setAttributeIfAbsent(String, Object) - Method in class com.alipay.remoting.Connection
set attribute if key absent.
setBs(BitSet) - Method in class com.alipay.remoting.util.ProtocolSwitch
Setter method for property bs.
setCause(Throwable) - Method in interface com.alipay.remoting.InvokeFuture
Set the cause if exception caught.
setCause(Throwable) - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
setCause(Throwable) - Method in class com.alipay.remoting.rpc.ResponseCommand
Setter method for property cause.
setChannelContext(ChannelHandlerContext) - Method in class com.alipay.remoting.RemotingContext
Set the channel handler context.
setClazz(byte[]) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setCmdCode(CommandCode) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setCommandFactory(CommandFactory) - Method in class com.alipay.remoting.AbstractRemotingProcessor
 
setConnectionEventHandler(ConnectionEventHandler) - Method in class com.alipay.remoting.DefaultConnectionManager
Setter method for property connectionEventHandler.
setConnectionEventListener(ConnectionEventListener) - Method in class com.alipay.remoting.ConnectionEventHandler
Setter method for property listener.
setConnectionEventListener(ConnectionEventListener) - Method in class com.alipay.remoting.DefaultConnectionManager
Setter method for property connectionEventListener.
setConnectionFactory(ConnectionFactory) - Method in class com.alipay.remoting.DefaultConnectionManager
Setter method for property connctionFactory.
setConnectionManager(ConnectionManager) - Method in class com.alipay.remoting.ConnectionEventHandler
Setter method for property connectionManager.
setConnectionSelectStrategy(ConnectionSelectStrategy) - Method in class com.alipay.remoting.DefaultConnectionManager
Setter method for property connectionSelectStrategy.
setConnectTimeout(int) - Method in class com.alipay.remoting.Url
 
setConnNum(int) - Method in class com.alipay.remoting.Url
 
setConnWarmup(boolean) - Method in class com.alipay.remoting.Url
 
setContent(byte[]) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setCumulator(AbstractBatchDecoder.Cumulator) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Set the AbstractBatchDecoder.Cumulator to use for cumulate the received ByteBufs.
setDiscardAfterReads(int) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
Set the number of reads after which ByteBuf.discardSomeReadBytes() are called and so free up memory.
setErrorMsg(String) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Setter method for property errorMsg.
setExecutor(ExecutorService) - Method in class com.alipay.remoting.AbstractRemotingProcessor
Setter method for property executor.
setExecutor(ExecutorService) - Method in interface com.alipay.remoting.RemotingProcessor
Set executor.
setExecutorSelector(UserProcessor.ExecutorSelector) - Method in class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
 
setExecutorSelector(UserProcessor.ExecutorSelector) - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Setter.
setHeader(byte[]) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setId(int) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setInvokeContext(InvokeContext) - Method in interface com.alipay.remoting.InvokeFuture
set invoke context
setInvokeContext(InvokeContext) - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
setInvokeContext(InvokeContext) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setMonitorStrategy(ConnectionMonitorStrategy) - Method in class com.alipay.remoting.rpc.RpcClient
Setter method for property monitorStrategy.
setProtocol(byte) - Method in class com.alipay.remoting.Url
 
setProtocolSwitch(ProtocolSwitch) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setReconnectManager(ReconnectManager) - Method in class com.alipay.remoting.ConnectionEventHandler
Setter method for property reconnectManager.
setRequestClass(String) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Setter method for property requestClass.
setRequestHeader(Object) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Setter method for property requestHeader.
setRequestObject(Object) - Method in class com.alipay.remoting.rpc.protocol.RpcRequestCommand
Setter method for property requestObject.
setResponseClass(String) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Setter method for property responseClass.
setResponseHeader(Object) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Setter method for property responseHeader.
setResponseHost(InetSocketAddress) - Method in class com.alipay.remoting.rpc.ResponseCommand
Setter method for property responseHost.
setResponseObject(Object) - Method in class com.alipay.remoting.rpc.protocol.RpcResponseCommand
Setter method for property responseObject.
setResponseStatus(ResponseStatus) - Method in class com.alipay.remoting.rpc.ResponseCommand
Setter method for property responseStatus.
setResponseTimeMillis(long) - Method in class com.alipay.remoting.rpc.ResponseCommand
Setter method for property responseTimeMillis.
setRpcCommandType(int) - Method in class com.alipay.remoting.RemotingContext
Setter method for property rpcCommandType.
setSerializer(byte) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setSingleDecode(boolean) - Method in class com.alipay.remoting.codec.AbstractBatchDecoder
If set then only one message is decoded on each AbstractBatchDecoder.channelRead(ChannelHandlerContext, Object) call.
setTimeout(int) - Method in class com.alipay.remoting.RemotingContext
Setter method for property timeout.
setTimeout(int) - Method in class com.alipay.remoting.rpc.RequestCommand
Setter method for property timeout.
setTimeoutDiscard(boolean) - Method in class com.alipay.remoting.RemotingContext
 
setType(byte) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setVersion(byte) - Method in class com.alipay.remoting.rpc.RpcCommand
 
setVersion(byte) - Method in class com.alipay.remoting.Url
 
shutdown() - Method in class com.alipay.remoting.rpc.RpcClient
Shutdown.
shutdown() - Method in class com.alipay.remoting.rpc.RpcTaskScanner
Shutdown the scheduled service.
size() - Method in class com.alipay.remoting.ConnectionPool
connection pool size
size() - Method in class com.alipay.remoting.util.ConcurrentHashSet
return the size of the map
split(String, char) - Static method in class com.alipay.remoting.util.StringUtils
 
start() - Method in class com.alipay.remoting.DefaultConnectionMonitor
Start schedule task
start() - Method in class com.alipay.remoting.RemotingServer
Start the server.
start(String) - Method in class com.alipay.remoting.RemotingServer
Start the server with ip and port.
start() - Method in class com.alipay.remoting.rpc.RpcTaskScanner
Start!
stop() - Method in class com.alipay.remoting.ReconnectManager
stop reconnect thread
stop() - Method in class com.alipay.remoting.RemotingServer
Stop the server.
StringUtils - Class in com.alipay.remoting.util
Created by zhangg on 2016/7/14 21:07.
StringUtils() - Constructor for class com.alipay.remoting.util.StringUtils
 
Switch - Interface in com.alipay.remoting.util
switch interface
SyncUserProcessor<T> - Class in com.alipay.remoting.rpc.protocol
Extends this to process user defined request in SYNC way.
SyncUserProcessor() - Constructor for class com.alipay.remoting.rpc.protocol.SyncUserProcessor
 
SystemProperties - Class in com.alipay.remoting
get configs from system properties
SystemProperties() - Constructor for class com.alipay.remoting.SystemProperties
 

T

TCP_IDLE - Static variable in class com.alipay.remoting.Configs
TCP idle interval for client
tcp_idle() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_IDLE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TCP_IDLE_MAXTIMES - Static variable in class com.alipay.remoting.Configs
TCP idle triggered max times if no response
tcp_idle_maxtimes() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_IDLE_MAXTIMES_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TCP_IDLE_SWITCH - Static variable in class com.alipay.remoting.Configs
TCP idle switch
tcp_idle_switch() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_IDLE_SWITCH_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TCP_NODELAY - Static variable in class com.alipay.remoting.Configs
TCP_NODELAY option
tcp_nodelay() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_NODELAY_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TCP_SERVER_IDLE - Static variable in class com.alipay.remoting.Configs
TCP idle interval for server
tcp_server_idle() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_SERVER_IDLE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TCP_SO_BACKLOG - Static variable in class com.alipay.remoting.Configs
TCP SO_BACKLOG option
tcp_so_backlog() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_SO_BACKLOG_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TCP_SO_KEEPALIVE - Static variable in class com.alipay.remoting.Configs
TCP SO_KEEPALIVE option
tcp_so_keepalive() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_SO_KEEPALIVE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TCP_SO_REUSEADDR - Static variable in class com.alipay.remoting.Configs
TCP SO_REUSEADDR option
tcp_so_reuseaddr() - Static method in class com.alipay.remoting.SystemProperties
 
TCP_SO_REUSEADDR_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
timeoutDiscard() - Method in class com.alipay.remoting.rpc.protocol.AbstractUserProcessor
By default, return true, means discard requests which timeout already.
timeoutDiscard() - Method in interface com.alipay.remoting.rpc.protocol.UserProcessor
Whether handle request timeout automatically, we call this fail fast processing when detect timeout.
TimerHolder - Class in com.alipay.remoting
A singleton holder of the timer for timeout.
toBitSet(int) - Static method in class com.alipay.remoting.util.ProtocolSwitch
from byte to bit set
toByte() - Method in class com.alipay.remoting.util.ProtocolSwitch
generate byte value according to the bit set in ProtocolSwitchStatus
toByte(BitSet) - Static method in class com.alipay.remoting.util.ProtocolSwitch
from bit set to byte
toRemotingCommand(Object, Connection, InvokeContext, int) - Method in class com.alipay.remoting.rpc.RpcRemoting
Convert application request object to remoting request command.
toString() - Method in class com.alipay.remoting.ProtocolCode
 
toString() - Method in class com.alipay.remoting.Url
 
TP_KEEPALIVE_TIME - Static variable in class com.alipay.remoting.Configs
Thread pool keep alive time for the default executor
TP_KEEPALIVE_TIME_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TP_MAX_SIZE - Static variable in class com.alipay.remoting.Configs
Thread pool max size for the default executor.
TP_MAX_SIZE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TP_MIN_SIZE - Static variable in class com.alipay.remoting.Configs
Thread pool min size for the default executor.
TP_MIN_SIZE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TP_QUEUE_SIZE - Static variable in class com.alipay.remoting.Configs
Thread pool queue size for the default executor.
TP_QUEUE_SIZE_DEFAULT - Static variable in class com.alipay.remoting.Configs
 
TraceLogUtil - Class in com.alipay.remoting.util
Trace log util
TraceLogUtil() - Constructor for class com.alipay.remoting.util.TraceLogUtil
 
tryAsyncExecuteInvokeCallbackAbnormally() - Method in interface com.alipay.remoting.InvokeFuture
Asynchronous execute the callback abnormally.
tryAsyncExecuteInvokeCallbackAbnormally() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
turnOn(int) - Method in class com.alipay.remoting.util.GlobalSwitch
 
turnOn(int) - Method in class com.alipay.remoting.util.ProtocolSwitch
 
turnOn(int) - Method in interface com.alipay.remoting.util.Switch
api for user to turn on a feature

U

unRegisterProtocol(byte) - Static method in class com.alipay.remoting.ProtocolManager
 
Url - Class in com.alipay.remoting
URL definition.
Url(String) - Constructor for class com.alipay.remoting.Url
Constructor with originUrl
Url(String, int) - Constructor for class com.alipay.remoting.Url
Constructor with ip and port Initialize ip:port as Url.originUrl Initialize Url.originUrl as Url.uniqueKey
Url(String, String, int) - Constructor for class com.alipay.remoting.Url
Constructor with originUrl, ip and port Initialize @param originUrl as Url.originUrl Initialize ip:port as Url.uniqueKey
Url(String, String, int, Properties) - Constructor for class com.alipay.remoting.Url
Constructor with originUrl, ip, port and properties Initialize @param originUrl as Url.originUrl Initialize ip:port as Url.uniqueKey Initialize @param properties as Url.properties
Url(String, String, int, String, Properties) - Constructor for class com.alipay.remoting.Url
Constructor with originUrl, ip, port, uniqueKey and properties Initialize @param originUrl as Url.originUrl Initialize @param uniqueKey as Url.uniqueKey Initialize @param properties as Url.properties
URL_PROTOCOL - Static variable in class com.alipay.remoting.rpc.RpcConfigs
Protocol key in url.
URL_VERSION - Static variable in class com.alipay.remoting.rpc.RpcConfigs
Version key in url.
userEventTriggered(ChannelHandlerContext, Object) - Method in class com.alipay.remoting.ConnectionEventHandler
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class com.alipay.remoting.rpc.HeartbeatHandler
 
userEventTriggered(ChannelHandlerContext, Object) - Method in class com.alipay.remoting.ServerIdleHandler
 
UserProcessor<T> - Interface in com.alipay.remoting.rpc.protocol
Defined all functions for biz to process user defined request.
UserProcessor.ExecutorSelector - Interface in com.alipay.remoting.rpc.protocol
Executor selector interface.

V

value() - Method in interface com.alipay.remoting.CommandCode
 
value() - Method in enum com.alipay.remoting.CommonCommandCode
 
value() - Method in enum com.alipay.remoting.rpc.protocol.RpcCommandCode
 
valueOf(String) - Static method in enum com.alipay.remoting.CommonCommandCode
Returns the enum constant of this type with the specified name.
valueOf(short) - Static method in enum com.alipay.remoting.CommonCommandCode
 
valueOf(String) - Static method in enum com.alipay.remoting.ConnectionEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alipay.remoting.ResponseStatus
Returns the enum constant of this type with the specified name.
valueOf(short) - Static method in enum com.alipay.remoting.ResponseStatus
Convert to ResponseStatus.
valueOf(String) - Static method in enum com.alipay.remoting.rpc.protocol.RpcCommandCode
Returns the enum constant of this type with the specified name.
valueOf(short) - Static method in enum com.alipay.remoting.rpc.protocol.RpcCommandCode
 
valueOf(int) - Static method in class com.alipay.remoting.rpc.protocol.RpcDeserializeLevel
Convert to String.
values() - Static method in enum com.alipay.remoting.CommonCommandCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alipay.remoting.ConnectionEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alipay.remoting.ResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alipay.remoting.rpc.protocol.RpcCommandCode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.alipay.remoting.Connection
Attribute key for version

W

waitResponse(long) - Method in interface com.alipay.remoting.InvokeFuture
Wait response with timeout.
waitResponse() - Method in interface com.alipay.remoting.InvokeFuture
Wait response with unlimit timeout
waitResponse(long) - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
waitResponse() - Method in class com.alipay.remoting.rpc.DefaultInvokeFuture
 
writeAndFlush(RemotingCommand) - Method in class com.alipay.remoting.RemotingContext
Wrap the writeAndFlush method.

A B C D E F G H I L M N O P Q R S T U V W

Copyright © 2018. All rights reserved.