|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.apache.catalina.cluster.tcp.SocketReplicationThread
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Method Summary | |
boolean |
isSendAck()
receiver must be send ack |
void |
messageDataReceived(ClusterData data)
This method is invoked on the callback object to notify it that new data has been received from one of the cluster nodes. |
void |
run()
read sender messages / is message complete send ack and wait for next message! |
void |
sendAck()
send a reply-acknowledgement |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public void run()
run in interface java.lang.RunnableSocketObjectReader.append(byte[],int,int),
Runnable.run()public void messageDataReceived(ClusterData data)
ListenCallback
messageDataReceived in interface ListenCallbackdata - - the message bytes received from the cluster/replication systempublic boolean isSendAck()
ListenCallback
isSendAck in interface ListenCallback
public void sendAck()
throws java.io.IOException
sendAck in interface ListenCallbackjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||