class IdleChecker extends SimpleTimer2.TimedEvent
_state, DEFAULT_FUZZ| Constructor and Description |
|---|
IdleChecker(SnarkManager mgr,
PeerCoordinatorSet pcs)
Caller must schedule
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveInboundCount()
Return the current inbound tunnel count
|
int |
getActiveOutboundCount()
Return the current outbound tunnel count
|
void |
timeReached()
Simple interface for events to be queued up and notified on expiration
the time requested has been reached (this call should NOT block,
otherwise the whole SimpleTimer gets backed up)
|
cancel, forceReschedule, reschedule, reschedule, run, schedule, setFuzz, toStringpublic IdleChecker(SnarkManager mgr, PeerCoordinatorSet pcs)
public int getActiveInboundCount()
public int getActiveOutboundCount()
public void timeReached()
SimpleTimer2.TimedEventtimeReached in class SimpleTimer2.TimedEvent