Package 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
APinger
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
-
-
Field Summary
Fields Modifier and Type Field Description private SessionControl
sc
-
Constructor Summary
Constructors Modifier Constructor Description private
Pinger(SessionControl sc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ping()
Ping the SessionControl by updating the last access time:SessionControl.updateLastAccess()
void
stop()
Stop this pinger.
-
-
-
Field Detail
-
sc
private final SessionControl sc
-
-
Constructor Detail
-
Pinger
private Pinger(SessionControl sc)
-
-
Method Detail
-
ping
public void ping()
Ping the SessionControl by updating the last access time:SessionControl.updateLastAccess()
-
stop
public void stop()
Stop this pinger.
-
-