org.opennms.protocols.snmp
Class SnmpSession.CleanupRequest
java.lang.Object
org.opennms.protocols.snmp.SnmpSession.CleanupRequest
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- SnmpSession
- private class SnmpSession.CleanupRequest
- extends Object
- implements Runnable
This class is used to periodically cleanup the
outstanding request that have expired. The cleanup
interval is nominally once every 5 to 10 seconds.
It's used like the garbage collector for the m_requests
list. This is used in hopes of minimizing the contention
for the request array
Method Summary |
void |
run()
Preforms the actual removal of the expired
SnmpRequest elements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpSession.CleanupRequest
private SnmpSession.CleanupRequest()
run
public void run()
- Preforms the actual removal of the expired
SnmpRequest elements.
- Specified by:
run
in interface Runnable
- See Also:
SnmpRequest
Generated by jpp on July 15 2004 1044.