Class ImportEntryClusterService
- java.lang.Object
-
- org.openbravo.cluster.ClusterService
-
- org.openbravo.service.importprocess.ImportEntryClusterService
-
@ApplicationScoped public class ImportEntryClusterService extends ClusterService
This class defines the behavior of the import entry service being in a clustered environment.
-
-
Constructor Summary
Constructors Constructor Description ImportEntryClusterService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getServiceName()
boolean
isAlive()
boolean
isEnabled()
-
Methods inherited from class org.openbravo.cluster.ClusterService
deregister, endProcessing, getIdentifierOfNodeHandlingService, getNextPing, getNodeIdentifier, getThreshold, getTimeout, init, isDisabled, isHandledInCurrentNode, isInitialized, prepareForNewNodeInCharge, setDisabled, setNextPing, setUseCache, startProcessing, toString
-
-
-
-
Method Detail
-
getServiceName
public String getServiceName()
- Specified by:
getServiceName
in classClusterService
- Returns:
- a
String
that uniquely identifies the service.
-
isAlive
public boolean isAlive()
- Specified by:
isAlive
in classClusterService
- Returns:
true
if the service currently is running in the present cluster node,false
otherwise.
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in classClusterService
- Returns:
true
if it is allowed to execute this service in the present cluster node,false
otherwise.
-
-