|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.messaging.remotenode.RemoteNodeMonitor
RemoteNode monitor.
Field Summary | |
static long |
IDLE_TIME
Nodes which have been idle for more than this number of milliseconds are left. |
static long |
MONITOR_PERIOD
Number of milliseconds between two scans. |
Constructor Summary | |
RemoteNodeMonitor(RemoteNodeManager aManager,
org.apache.geronimo.pool.ClockPool aClockPool)
Creates a monitor for the RemoteNodes managed by aManager. |
Method Summary | |
void |
scheduleNodeDeletion(Set aNodes)
Schedules the deletion of the specified nodes. |
void |
start()
Start the monitoring. |
void |
stop()
Stops the monitoring. |
void |
unscheduleNodeDeletion(Set aNodes)
Unschedules the deletion of the specified nodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long MONITOR_PERIOD
public static final long IDLE_TIME
Constructor Detail |
public RemoteNodeMonitor(RemoteNodeManager aManager, org.apache.geronimo.pool.ClockPool aClockPool)
aManager
- Manager whose RemoteNodes are to be monitored.aClockPool
- To schedule recurrent tasks.Method Detail |
public void start()
public void stop()
public void scheduleNodeDeletion(Set aNodes)
aNodes
- Setpublic void unscheduleNodeDeletion(Set aNodes)
aNodes
- Set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |