Interface IServiceCleanup

  • All Known Implementing Classes:
    AgentsDaemon.CleanupAgent

    public interface IServiceCleanup
    The 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
      void cleanUpAllServices()
      Clean up after ALL services of the type on the cluster.
      void cleanUpService​(java.lang.String serviceName)
      Clean up after the specified service.
      void clusterInit()
      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.
    • Method Detail

      • cleanUpService

        void cleanUpService​(java.lang.String serviceName)
                     throws ManifoldCFException
        Clean 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
      • clusterInit

        void clusterInit()
                  throws ManifoldCFException
        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.
        Throws:
        ManifoldCFException