|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
heartbeat() method will be invoked when the heartbeat runs on the channel
channel.addInterceptor(A);channel.addInterceptor(C);channel.addInterceptor(B);A -> C -> BChannel -> A -> C -> B -> ChannelCoordinatorheartbeat() method will be invoked when the heartbeat runs on the channel
ChannelData object is used to transfer a message through the
channel interceptor stack and eventually out on a transport to be sent
to another node.ChannelReceiver interface is the data receiver component
at the bottom layer, the IO layer (for layers see the javadoc for the Channel interface).ChannelSender interface is the data sender component
at the bottom layer, the IO layer (for layers see the javadoc for the Channel interface).org.apache.catalina.tribes
package.org.apache.catalina.tribes.membership
package.org.apache.catalina.tribes.transport
package.ChannelCoordinator coordinates the bottom layer components:START_DATA it will be thrown away.
ErrorHandler class is used when sending messages
that are sent asynchronously and the application still needs to get
confirmation when the message was sent successfully or when a message errored out.Channel.heartbeat()
<description>/<version>.
<description>/<version>.
<description>/<version>.
<description>/<version>.
getMembers().length>0
Channel.hasMembers() method
heartbeat() method gets invoked periodically
to allow interceptors to clean up resources, time out object and
perform actions that are unrelated to sending/receiving data.
channel.setHeartbeat(false)
heartbeat == true then how often do we want this
heartbeat to run.
MembershipService interface is the membership component
at the bottom layer, the IO layer (for layers see the javadoc for the Channel interface).messageReceived is invoked when a message is received.
ObjectReader for a TCP NIO socket channel
ObjectReader for a TCP socket
1.- ReplicationStream - Class in org.apache.catalina.tribes.io
- Custom subclass of
ObjectInputStream that loads from the
class loader for this web application. - ReplicationStream(InputStream, ClassLoader[]) -
Constructor for class org.apache.catalina.tribes.io.ReplicationStream
- Construct a new instance of CustomObjectInputStream
- ReplicationTransmitter - Class in org.apache.catalina.tribes.transport
- Transmit message to other cluster members
Actual senders are created based on the replicationMode
type
- ReplicationTransmitter() -
Constructor for class org.apache.catalina.tribes.transport.ReplicationTransmitter
-
- reply -
Variable in class org.apache.catalina.tribes.group.RpcMessage
-
- replyRequest(Serializable, Member) -
Method in interface org.apache.catalina.tribes.group.RpcCallback
-
- replyRequest(Serializable, Member) -
Method in class org.apache.catalina.tribes.tipis.AbstractReplicatedMap
-
- report(double) -
Method in class org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor
-
- reset() -
Method in class org.apache.catalina.tribes.io.XByteBuffer
-
- reset() -
Method in class org.apache.catalina.tribes.membership.Membership
- Reset the membership and start over fresh.
- reset() -
Method in class org.apache.catalina.tribes.transport.nio.NioSender
-
- resetDiff() -
Method in interface org.apache.catalina.tribes.tipis.ReplicatedMapEntry
- Resets the current diff state and resets the dirty flag
- resolveClass(ObjectStreamClass) -
Method in class org.apache.catalina.tribes.io.ReplicationStream
- Load the local class equivalent of the specified stream class
description, by using the class loader assigned to this Context.
- resolveClass(String) -
Method in class org.apache.catalina.tribes.io.ReplicationStream
-
- resolveProxyClass(String[]) -
Method in class org.apache.catalina.tribes.io.ReplicationStream
- ObjectInputStream.resolveProxyClass has some funky way of using
the incorrect class loader to resolve proxy classes, let's do it our way instead
- Response - Class in org.apache.catalina.tribes.group
- A response object holds a message from a responding partner.
- Response() -
Constructor for class org.apache.catalina.tribes.group.Response
-
- Response(Member, Serializable) -
Constructor for class org.apache.catalina.tribes.group.Response
-
- responses -
Variable in class org.apache.catalina.tribes.group.RpcChannel.RpcCollector
-
- returnBuffer(XByteBuffer) -
Method in interface org.apache.catalina.tribes.io.BufferPool.BufferPoolAPI
-
- returnBuffer(XByteBuffer) -
Method in class org.apache.catalina.tribes.io.BufferPool
-
- returnSender(DataSender) -
Method in class org.apache.catalina.tribes.transport.PooledSender
-
- returnWorker(AbstractRxTask) -
Method in class org.apache.catalina.tribes.transport.RxTaskPool
- Called by the worker thread to return itself to the
idle pool.
- RpcCallback - Interface in org.apache.catalina.tribes.group
- The RpcCallback interface is an interface for the Tribes channel to request a
response object to a request that came in.
- RpcChannel - Class in org.apache.catalina.tribes.group
- A channel to handle RPC messaging
- RpcChannel(byte[], Channel, RpcCallback) -
Constructor for class org.apache.catalina.tribes.group.RpcChannel
- Create an RPC channel.
- rpcChannel -
Variable in class org.apache.catalina.tribes.tipis.AbstractReplicatedMap
- The RpcChannel to send RPC messages through
- RpcChannel.RpcCollector - Class in org.apache.catalina.tribes.group
- Class that holds all response.
- RpcChannel.RpcCollector(RpcChannel.RpcCollectorKey, int, int, long) -
Constructor for class org.apache.catalina.tribes.group.RpcChannel.RpcCollector
-
- RpcChannel.RpcCollectorKey - Class in org.apache.catalina.tribes.group
-
- RpcChannel.RpcCollectorKey(byte[]) -
Constructor for class org.apache.catalina.tribes.group.RpcChannel.RpcCollectorKey
-
- rpcId -
Variable in class org.apache.catalina.tribes.group.RpcMessage
-
- RpcMessage - Class in org.apache.catalina.tribes.group
- Title:
- RpcMessage() -
Constructor for class org.apache.catalina.tribes.group.RpcMessage
-
- RpcMessage(byte[], byte[], Serializable) -
Constructor for class org.apache.catalina.tribes.group.RpcMessage
-
- RpcMessage.NoRpcChannelReply - Class in org.apache.catalina.tribes.group
-
- RpcMessage.NoRpcChannelReply() -
Constructor for class org.apache.catalina.tribes.group.RpcMessage.NoRpcChannelReply
-
- RpcMessage.NoRpcChannelReply(byte[], byte[]) -
Constructor for class org.apache.catalina.tribes.group.RpcMessage.NoRpcChannelReply
-
- rpcTimeout -
Variable in class org.apache.catalina.tribes.tipis.AbstractReplicatedMap
- Timeout for RPC messages, how long we will wait for a reply
- run() -
Method in class org.apache.catalina.tribes.group.GroupChannel.HeartbeatThread
-
- run -
Variable in class org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor
-
- run() -
Method in class org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor
-
- run() -
Method in class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor.PingThread
-
- run() -
Method in class org.apache.catalina.tribes.membership.McastServiceImpl.ReceiverThread
-
- run() -
Method in class org.apache.catalina.tribes.membership.McastServiceImpl.RecoveryThread
-
- run() -
Method in class org.apache.catalina.tribes.membership.McastServiceImpl.SenderThread
-
- run() -
Method in class org.apache.catalina.tribes.transport.bio.BioReceiver
-
- run() -
Method in class org.apache.catalina.tribes.transport.bio.BioReplicationTask
-
- run() -
Method in class org.apache.catalina.tribes.transport.nio.NioReceiver
- Start thread and listen
- run() -
Method in class org.apache.catalina.tribes.transport.nio.NioReplicationTask
-
- runnablequeue -
Variable in class org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor
-
- running -
Variable in class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
-
- RxTaskPool - Class in org.apache.catalina.tribes.transport
-
- RxTaskPool(int, int, RxTaskPool.TaskCreator) -
Constructor for class org.apache.catalina.tribes.transport.RxTaskPool
-
- RxTaskPool.TaskCreator - Interface in org.apache.catalina.tribes.transport
-
sendMessage method is called when a message is being sent to one more destinations.
NoRpcChannelReply message to a membergetHeartbeat()==true
- StringManager - Class in org.apache.catalina.tribes.util
- An internationalization / localization helper class which reduces
the bother of handling ResourceBundles and takes care of the
common cases of message formating which otherwise require the
creation of Object arrays and such.
- suggestedView -
Variable in class org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator
-
- suggestedviewId -
Variable in class org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator
- indicates that we are running an election
and this is the one we are running
- SUSPECT -
Static variable in class org.apache.catalina.tribes.transport.SenderState
-
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||