public class NodeStateCheckerService extends AbstractService
If the node's state in the database is changed to PASSIVE
, it is interpreted
as a request for the node to passivate itself.
log, name, SERVICE_EVENT
NAME_COMPARATOR
Constructor and Description |
---|
NodeStateCheckerService(NodeStateManager nodeStateManager,
OfBizClusterNodeStore clusterNodeStore,
ClusterNodes clusterNodes) |
Modifier and Type | Method and Description |
---|---|
ObjectConfiguration |
getObjectConfiguration()
Retrieves an object configuration object with properties that can be set
|
void |
init(com.opensymphony.module.propertyset.PropertySet properties)
Initialise the service.
|
void |
run()
This method must be implemented in a subclass, and performs the functionality
that the service performs.
|
destroy, getDefaultProperty, getDescription, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, isInternal, isUnique, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public NodeStateCheckerService(NodeStateManager nodeStateManager, OfBizClusterNodeStore clusterNodeStore, ClusterNodes clusterNodes)
public void init(com.opensymphony.module.propertyset.PropertySet properties) throws ObjectConfigurationException
JiraService
As the parameters are gained from the user's interaction with the website, it is not guaranteed to be called with the correct, or indeed with any parameters.
init() may be called multiple times during the services lifetime.
init
in interface JiraService
init
in class AbstractService
properties
- initialisation parametersObjectConfigurationException
- in case of an error with initialisation parametersJiraService.init(PropertySet, long)
public void run()
AbstractService
run
in interface JiraService
run
in interface Runnable
run
in class AbstractService
JiraService.init(com.opensymphony.module.propertyset.PropertySet)
public ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException
ObjectConfigurable
ObjectConfigurationException
Copyright © 2002-2024 Atlassian. All Rights Reserved.