public static class Application.Pinger extends Object
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.Modifier and Type | Field and Description |
---|---|
private SessionControl |
sc |
Modifier | Constructor and Description |
---|---|
private |
Pinger(SessionControl sc) |
Modifier and Type | Method and Description |
---|---|
void |
ping()
Ping the SessionControl by updating the last access time:
SessionControl.updateLastAccess() |
void |
stop()
Stop this pinger.
|
private final SessionControl sc
private Pinger(SessionControl sc)
public void ping()
SessionControl.updateLastAccess()
public void stop()