Package org.exoplatform.commons.cluster
Interface StartableClusterAware
-
public interface StartableClusterAwareA class implementing this interface is executed will be started (execution of the method start()) during the startup of the platform but on one node only if running in cluster. If the node running the cluster aware service is stopped during the execution of the service, it will be started again on another cluster node, unless the isDone() method returns true.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanisDone()Check if service is donevoidstart()Start service by the current nodedefault voidstop()Stop service by the current node
-