| java.lang.Object org.continuent.sequoia.controller.virtualdatabase.activity.ActivityService
ActivityService | final public class ActivityService (Code) | | An ActivityService is responsible to centralize "activities" information related
to virtual databases
|
addUnreachableMember | public synchronized void addUnreachableMember(String vdb, Object member)(Code) | | Flags the given member as unreachable for the given virtual database.
Parameters: vdb - the name of a virtual database Parameters: member - an Object representing the member of a virtual database |
getInstance | final public static ActivityService getInstance()(Code) | | Returns the instance of the ActivityService.
This instance is global to the Controller.
the instance of the ActivityService |
hasActivitySinceUnreachable | public boolean hasActivitySinceUnreachable(String vdb, Object member)(Code) | | Checks if there has been some activities for the given virtual database
since the member was flagged as unreachable.
Parameters: vdb - the name of a virtual database Parameters: member - an Object representing the member of a virtual database true if there has been some activities for the vdb since the member was flagged as unreachable, false in anyother cases |
notifyActivityFor | public void notifyActivityFor(String vdb)(Code) | | Notifies that there has been activity related to the given virtual database
Parameters: vdb - the name of the virtual database |
reset | public synchronized void reset(String vdb)(Code) | | Resets the activity information related to the given virtual database.
Parameters: vdb - the name of a virtual database |
stop | public synchronized void stop()(Code) | | Stops the activity service
|
|
|