org.openorb.notify
Class ResourceReaper
public
class
ResourceReaper
extends Thread
The ResourceReaper class is responsible for checking the clients objects.
If an invocation
_non_existent() returns a COMM_FAILURE or OBJECT_NOT_EXIST.
It allows PSS database cleaning when a certain amount of events
have been processed by the channels.
Author: Olivier Modica
Method Summary |
void | doEventsClean()
This method checks if the events database should be cleaned. |
void | doResourcesClean()
This method checks the clients state by invoking _non_existent() on them. |
void | run()
The run method enables the ResourceReaper to do checkings on a timer basis. |
public ResourceReaper()
Default constructor with the PersistenceHelper object as an argument.
public void doEventsClean()
This method checks if the events database should be cleaned.
public void doResourcesClean()
This method checks the clients state by invoking _non_existent() on them.
public void run()
The run method enables the ResourceReaper to do checkings on a timer basis.