2.17.2: 2011-06-17

net.sf.basedb.core
Class Application.Pinger

java.lang.Object
  extended by 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

Field Summary
private  SessionControl sc
           
 
Constructor Summary
private Application.Pinger(SessionControl sc)
           
 
Method Summary
 void ping()
          Ping the SessionControl by updating the last access time: SessionControl.updateLastAccess()
 void stop()
          Stop this pinger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sc

private final SessionControl sc
Constructor Detail

Application.Pinger

private Application.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.


2.17.2: 2011-06-17