net.spy.util
Class TTLMonitor

java.lang.Object
  extended by net.spy.SpyObject
      extended by net.spy.util.TTLMonitor

public final class TTLMonitor
extends SpyObject

Monitor TTLs.

See Also:
TTL

Method Summary
 void add(TTL ttl)
          Add a new TTL to the list we're monitoring.
static TTLMonitor getTTLMonitor()
          Get the singleton instance of the TTLMonitor.
 void shutdown()
          Shutdown the monitor.
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shutdown

public void shutdown()
Shutdown the monitor.


getTTLMonitor

public static TTLMonitor getTTLMonitor()
Get the singleton instance of the TTLMonitor.

Returns:
the TTLMonitor instance.

add

public void add(TTL ttl)
Add a new TTL to the list we're monitoring.



Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.