Package net.sf.basedb.core
Class Application.Pinger
java.lang.Object
net.sf.basedb.core.Application.Pinger
- Enclosing class:
- Application
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ping()
Ping the SessionControl by updating the last access time:SessionControl.updateLastAccess()
void
stop()
Stop this pinger.
-
Field Details
-
sc
-
-
Constructor Details
-
Pinger
-
-
Method Details
-
ping
public void ping()Ping the SessionControl by updating the last access time:SessionControl.updateLastAccess()
-
stop
public void stop()Stop this pinger.
-