com.atlassian.jira.cluster.lock
Class StartableClusterNodeHeartbeatService
java.lang.Object
com.atlassian.beehive.AbstractClusterNodeHeartbeatService
com.atlassian.jira.cluster.lock.StartableClusterNodeHeartbeatService
- All Implemented Interfaces:
- com.atlassian.beehive.ClusterNodeHeartbeatService, Startable
public class StartableClusterNodeHeartbeatService
- extends com.atlassian.beehive.AbstractClusterNodeHeartbeatService
- implements Startable
JIRA implementation of ClusterNodeHeartbeatService that is Startable
- Since:
- 6.3
Method Summary |
void |
start()
This method wil be called after the plugin system is fully initialised and all components added to the
dependency injection framework. |
protected void |
startHeartbeat()
|
Methods inherited from class com.atlassian.beehive.AbstractClusterNodeHeartbeatService |
findLiveNodes, findLiveNodes, getLastHeartbeatTime, getNodeId, isNodeLive |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartableClusterNodeHeartbeatService
public StartableClusterNodeHeartbeatService(com.atlassian.beehive.spi.ClusterNodeHeartBeatDao clusterNodeHeartBeatDao,
com.atlassian.scheduler.SchedulerService schedulerService,
SharedHomeNodeStatusWriter sharedHomeNodeStatusWriter,
com.atlassian.core.util.Clock clock)
start
public void start()
throws Exception
- Description copied from interface:
Startable
- This method wil be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
- Specified by:
start
in interface Startable
- Throws:
Exception
- Allows implementations to throw an Exception.
startHeartbeat
protected void startHeartbeat()
throws com.atlassian.scheduler.SchedulerServiceException
- Overrides:
startHeartbeat
in class com.atlassian.beehive.AbstractClusterNodeHeartbeatService
- Throws:
com.atlassian.scheduler.SchedulerServiceException
Copyright © 2002-2014 Atlassian. All Rights Reserved.