Interface IServiceCleanup
-
- All Known Implementing Classes:
AgentsDaemon.CleanupAgent
public interface IServiceCleanupThe IServiceCleanup interface describes functionality needed to clean up after a service that has ended, as determined by an ILockManager instance. It is always throttled in a manner where only one thread in the entire cluster will be cleaning up after any specific service.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcleanUpAllServices()Clean up after ALL services of the type on the cluster.voidcleanUpService(java.lang.String serviceName)Clean up after the specified service.voidclusterInit()Perform cluster initialization - that is, whatever is needed presuming that the cluster has been down for an indeterminate period of time, but is otherwise in a clean state.
-
-
-
Field Detail
-
_rcsid
static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
cleanUpService
void cleanUpService(java.lang.String serviceName) throws ManifoldCFExceptionClean up after the specified service. This method will block any startup of the specified service for as long as it runs.- Parameters:
serviceName- is the name of the service.- Throws:
ManifoldCFException
-
cleanUpAllServices
void cleanUpAllServices() throws ManifoldCFExceptionClean up after ALL services of the type on the cluster.- Throws:
ManifoldCFException
-
clusterInit
void clusterInit() throws ManifoldCFExceptionPerform cluster initialization - that is, whatever is needed presuming that the cluster has been down for an indeterminate period of time, but is otherwise in a clean state.- Throws:
ManifoldCFException
-
-