Skip navigation links
A C D F G I N S T U W 

A

AbstractClusterNodeHeartbeatService - Class in com.atlassian.beehive.db
Implementation of ClusterNodeHeartbeatService.
AbstractClusterNodeHeartbeatService(ClusterNodeHeartBeatDao, SchedulerService) - Constructor for class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
 

C

cleanUpOrphanLocks() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 
ClusterLockDao - Interface in com.atlassian.beehive.db.spi
Provides access to the Cluster Lock DB table.
ClusterNodeHeartBeatDao - Interface in com.atlassian.beehive.db.spi
Clustered applications need to implement this DAO in order to be able to use the DatabaseClusterLockService.
ClusterNodeHeartbeatService - Interface in com.atlassian.beehive.db
Provides a heartbeat for nodes of a cluster and utility methods for finding out about the "liveness" of other nodes.
com.atlassian.beehive.db - package com.atlassian.beehive.db
 
com.atlassian.beehive.db.spi - package com.atlassian.beehive.db.spi
 

D

DatabaseClusterLockService - Class in com.atlassian.beehive.db
This is the database backed implementation of ClusterLockService that can be used by clustered applications.
DatabaseClusterLockService(ClusterLockDao, ClusterNodeHeartbeatService) - Constructor for class com.atlassian.beehive.db.DatabaseClusterLockService
 
deleteLocksHeldByNode(String) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
Deletes any locks held by the given node.

F

findLiveNodes() - Method in class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
 
findLiveNodes(long) - Method in class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
 
findLiveNodes() - Method in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
Returns all nodes that have sent a heartbeat within the default threshold time.
findLiveNodes(long) - Method in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
Returns all nodes that have sent a heartbeat within the given threshold.
findNodesWithHeartbeatsAfter(long) - Method in interface com.atlassian.beehive.db.spi.ClusterNodeHeartBeatDao
 

G

getAllHeldClusterLocks() - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
Returns lock details for all cluster locks being held by any node.
getAllKnownClusterLocks() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 
getClusterLockStatusByName(String) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
Returns the cluster lock details for the given name, or null if no such lock has ever been created.
getLastHeartbeatTime(String) - Method in class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
 
getLastHeartbeatTime(String) - Method in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
Returns the last time a heartbeat was sent by the given node.
getLastHeartbeatTime(String) - Method in interface com.atlassian.beehive.db.spi.ClusterNodeHeartBeatDao
Returns the last time a heartbeat was sent by the given node.
getLockForName(String) - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 
getNodeId() - Method in class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
 
getNodeId() - Method in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
Returns the node ID for this node.
getNodeId() - Method in interface com.atlassian.beehive.db.spi.ClusterNodeHeartBeatDao
Returns the globally unique Identifier for this cluster node.
getStatusesOfAllHeldClusterLocks() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 

I

insertEmptyClusterLock(String, long) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
Attempt to insert an "unlocked" DB row for the named lock.
isNodeLive(String) - Method in class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
 
isNodeLive(String) - Method in interface com.atlassian.beehive.db.ClusterNodeHeartbeatService
Checks whether the given cluster node is considered "live".

N

newHeartbeatJobRunner() - Method in class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
 

S

startHeartbeat() - Method in class com.atlassian.beehive.db.AbstractClusterNodeHeartbeatService
The concrete class must ensure that this is called upon product startup, but after the DB is available.

T

tryUpdateAcquireLock(String, String, long) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
Attempt to acquire an existing named lock for the given nodeId.

U

unlock(String, String, long) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
Unlock the named lock, if this node still holds the lock.

W

writeHeartBeat(long) - Method in interface com.atlassian.beehive.db.spi.ClusterNodeHeartBeatDao
Writes a heartbeat for this node at the given time.
A C D F G I N S T U W 
Skip navigation links

Copyright © 2018 Atlassian. All rights reserved.