net.sf.basedb.core
Class Application.Pinger
java.lang.Object
net.sf.basedb.core.Application.Pinger
- Enclosing class:
- Application
public static class Application.Pinger
- extends Object
A Pinger
is an object that is used to protect another
object from timing out by automatically pinging it. This can for
example be used by a client to override the timeout for SessionControl
items.
- Since:
- 2.4.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sc
private final SessionControl sc
Application.Pinger
private Application.Pinger(SessionControl sc)
ping
public void ping()
- Ping the SessionControl by updating the last access time:
SessionControl.updateLastAccess()
stop
public void stop()
- Stop this pinger.