|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.cluster.ClusterSessionBase
org.apache.catalina.cluster.MulticastReceiver
This class is responsible for checking for incoming multicast data and determine if the data belongs to us and if so push it onto an internal stack and let it be picked up when needed.
| Field Summary | |
protected boolean |
threadDone
The background thread completion semaphore. |
| Fields inherited from class org.apache.catalina.cluster.ClusterSessionBase |
sm |
| Method Summary | |
int |
getCheckInterval()
Get the time in seconds this Cluster sleeps |
java.lang.String |
getName()
Return a String containing the name of this
implementation, used for logging |
java.lang.Object[] |
getObjects()
Receive the objects currently in our stack and clear if afterwards. |
void |
run()
The background thread. |
void |
setCheckInterval(int checkInterval)
Set the time in seconds for this component to Sleep before it checks for new received data in the Cluster |
void |
start()
Start our component |
void |
stop()
Stop our component |
| Methods inherited from class org.apache.catalina.cluster.ClusterSessionBase |
getDebug, getLogger, getSenderId, log, setDebug, setLogger, setSenderId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.catalina.cluster.ClusterReceiver |
getDebug, getLogger, getSenderId, log, setDebug, setLogger, setSenderId |
| Field Detail |
protected boolean threadDone
| Method Detail |
public java.lang.String getName()
String containing the name of this
implementation, used for logging
getName in class ClusterSessionBasepublic void setCheckInterval(int checkInterval)
setCheckInterval in interface ClusterReceivercheckInterval - The time to sleeppublic int getCheckInterval()
getCheckInterval in interface ClusterReceiverpublic java.lang.Object[] getObjects()
getObjects in interface ClusterReceiverpublic void start()
start in interface ClusterReceiverpublic void stop()
stop in interface ClusterReceiverpublic void run()
run in interface ClusterReceiver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||