org.eclipse.net4j.util.concurrent
Class Timeouter

java.lang.Object
  extended by org.eclipse.net4j.util.concurrent.Timeouter

public abstract class Timeouter
extends Object

Since:
2.0

Constructor Summary
Timeouter(Timer timer, long timeout)
           
 
Method Summary
 void dispose()
           
 long getTimeout()
           
protected abstract  void handleTimeout(long untouched)
           
protected  boolean isDisposed()
           
 void setTimeout(long timeout)
           
 void touch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timeouter

public Timeouter(Timer timer,
                 long timeout)
Method Detail

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

touch

public void touch()

dispose

public void dispose()

isDisposed

protected boolean isDisposed()

handleTimeout

protected abstract void handleTimeout(long untouched)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.