Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- ClusterLockDao - Interface in com.atlassian.beehive.db.spi
-
Provides access to the Cluster Lock DB table.
- 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) - Constructor for class com.atlassian.beehive.db.DatabaseClusterLockService
- DeadOwnerThreadException - Exception in com.atlassian.beehive.db
- DeadOwnerThreadException() - Constructor for exception com.atlassian.beehive.db.DeadOwnerThreadException
E
- EXPIRY_PERIOD_DURATION_SECONDS_KEY - Static variable in class com.atlassian.beehive.db.LockExpiryConfiguration
G
- getAllHeldClusterLocks() - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
-
Returns lock details for all cluster locks being held by any cluster 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.
- getExpiryPeriodDurationSeconds() - Static method in class com.atlassian.beehive.db.LockExpiryConfiguration
-
A amount of time since the last confirmation of lock state, during which lock should be treated as fully owned by the reported owner.
- getLockForName(String) - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
- getRenewalIntervalInSeconds() - Static method in class com.atlassian.beehive.db.LockExpiryConfiguration
-
Time between periodical renewals of lease for all locks owned by this instance.
- getStatusesOfAllHeldClusterLocks() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
I
- insertEmptyClusterLock(String) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
-
Attempts to insert an "unlocked" DB row for the named lock.
L
- LockExpiryConfiguration - Class in com.atlassian.beehive.db
- LockExpiryConfiguration() - Constructor for class com.atlassian.beehive.db.LockExpiryConfiguration
R
- releaseLocksHeldByNode() - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
-
Releases any locks held by the this node.
- RENEWAL_INTERVAL_PERIOD_SECONDS_KEY - Static variable in class com.atlassian.beehive.db.LockExpiryConfiguration
- renewLease(String) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
-
Prolong the lock's lease, assuming it has current node set as the owner(but regardless of time passed since previous renewal).
- resetDatabaseState() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
-
Reset internal state of the locks to adjust to external changes in tables used by DAO at runtime.
S
- shutdown() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
T
- tryAcquireLock(String) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
-
Attempts to acquire ownership of a named lock by current cluster node.
U
- unlock(String) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
-
Unlock the named lock, if this node still holds the lock.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form