Skip navigation links
A C D E G H I L M N O R S T U V 

A

AbstractClusterLockServiceTckTest - Class in com.atlassian.beehive
Generic tests that should be able to be run on any implementation of ClusterLockService as a Technology Compatibility Kit (TCK).
AbstractClusterLockServiceTckTest() - Constructor for class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
AbstractClusterLockServiceTckTest.LockTester - Class in com.atlassian.beehive
A test thread that encapsulates most of the logic associated with verifying cluster lock behaviour.

C

ClusterLock - Interface in com.atlassian.beehive
Represents a cluster-wide lock.
ClusterLockDao - Interface in com.atlassian.beehive.db.spi
Provides access to the Cluster Lock DB table.
clusterLockService - Variable in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
ClusterLockService - Interface in com.atlassian.beehive
Provides methods for running code under a cluster-wide lock.
ClusterLockStatus - Class in com.atlassian.beehive.core
 
ClusterLockStatus(String, String, long) - Constructor for class com.atlassian.beehive.core.ClusterLockStatus
 
com.atlassian.beehive - package com.atlassian.beehive
 
com.atlassian.beehive.core - package com.atlassian.beehive.core
 
com.atlassian.beehive.core.stats - package com.atlassian.beehive.core.stats
 
com.atlassian.beehive.db - package com.atlassian.beehive.db
 
com.atlassian.beehive.db.spi - package com.atlassian.beehive.db.spi
 
com.atlassian.beehive.hazelcast - package com.atlassian.beehive.hazelcast
 
com.atlassian.beehive.simple - package com.atlassian.beehive.simple
 
createClusterLockService() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
createLock(String) - Method in class com.atlassian.beehive.core.LockRegistry
Creates a new cluster lock with the given name.

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
 
DelegatingClusterLockService - Class in com.atlassian.beehive.core
A cluster lock service that delegates all requests to another cluster lock service.
DelegatingClusterLockService(ClusterLockService) - Constructor for class com.atlassian.beehive.core.DelegatingClusterLockService
 

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.core.LockRegistry
A delegate implementation for ManagedClusterLockService.getAllKnownClusterLocks() that will return all registered ManagedClusterLock instances that have previously been returned by calls to LockRegistry.getLockForName(String).
getAllKnownClusterLocks() - Method in interface com.atlassian.beehive.core.ManagedClusterLockService
Returns all the cluster locks that are currently known to this cluster lock service.
getAllKnownClusterLocks() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 
getAllKnownClusterLocks() - Method in class com.atlassian.beehive.simple.SimpleClusterLockService
 
getClusterLockStatus() - Method in interface com.atlassian.beehive.core.ManagedClusterLock
Returns the status of this lock.
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.
getLabel() - Method in enum com.atlassian.beehive.core.stats.StatisticsKey
Returns the label for this statistics key.
getLockedByNode() - Method in class com.atlassian.beehive.core.ClusterLockStatus
 
getLockForName(String) - Method in interface com.atlassian.beehive.ClusterLockService
Returns the cluster-wide lock for the given name.
getLockForName(String) - Method in class com.atlassian.beehive.core.DelegatingClusterLockService
 
getLockForName(String) - Method in class com.atlassian.beehive.core.LockRegistry
A delegate implementation for ClusterLockService.getLockForName(String) that will ensure that the same lock instance is returned on every call.
getLockForName(String) - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 
getLockForName(String) - Method in class com.atlassian.beehive.hazelcast.HazelcastClusterLockService
 
getLockForName(String) - Method in class com.atlassian.beehive.simple.SimpleClusterLockService
 
getLockName() - Method in class com.atlassian.beehive.core.ClusterLockStatus
 
getName() - Method in interface com.atlassian.beehive.core.ManagedClusterLock
Returns the name of this cluster lock.
getRenewalIntervalInSeconds() - Static method in class com.atlassian.beehive.db.LockExpiryConfiguration
Time between periodical renewals of lease for all locks owned by this instance.
getStatistics() - Method in interface com.atlassian.beehive.core.ManagedClusterLock
Returns the currently available statistics for this lock.
getStatusesOfAllHeldClusterLocks() - Method in class com.atlassian.beehive.core.LockRegistry
A delegate implementation for ManagedClusterLockService.getStatusesOfAllHeldClusterLocks() that will return ClusterLockStatus for every lock being held.
getStatusesOfAllHeldClusterLocks() - Method in interface com.atlassian.beehive.core.ManagedClusterLockService
Returns lock status of every cluster lock being held.
getStatusesOfAllHeldClusterLocks() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 
getStatusesOfAllHeldClusterLocks() - Method in class com.atlassian.beehive.simple.SimpleClusterLockService
 
getType() - Method in enum com.atlassian.beehive.core.stats.StatisticsKey
Returns the type of statistic that this is.
getUpdateTime() - Method in class com.atlassian.beehive.core.ClusterLockStatus
 
go() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest.LockTester
Executes the basic sequence described in the class description.

H

HazelcastClusterLockService - Class in com.atlassian.beehive.hazelcast
Hazelcast implementation of ClusterLockService.
HazelcastClusterLockService(HazelcastInstance) - Constructor for class com.atlassian.beehive.hazelcast.HazelcastClusterLockService
 

I

insertEmptyClusterLock(String) - Method in interface com.atlassian.beehive.db.spi.ClusterLockDao
Attempts to insert an "unlocked" DB row for the named lock.
isHeldByCurrentThread() - Method in interface com.atlassian.beehive.ClusterLock
Queries if this lock is held by the current thread.
isLocked() - Method in interface com.atlassian.beehive.core.ManagedClusterLock
 

L

LockExpiryConfiguration - Class in com.atlassian.beehive.db
 
LockExpiryConfiguration() - Constructor for class com.atlassian.beehive.db.LockExpiryConfiguration
 
lockInterruptibly() - Method in interface com.atlassian.beehive.ClusterLock
LockRegistry<T extends ManagedClusterLock> - Class in com.atlassian.beehive.core
Provides a lock registry for ManagedClusterLockService implementations.
LockRegistry() - Constructor for class com.atlassian.beehive.core.LockRegistry
 
LockTester(int, String, int, int) - Constructor for class com.atlassian.beehive.AbstractClusterLockServiceTckTest.LockTester
 

M

ManagedClusterLock - Interface in com.atlassian.beehive.core
Decorates a cluster lock with management concerns, such as its name and statistics.
ManagedClusterLockService - Interface in com.atlassian.beehive.core
Decorates a cluster lock service with management concerns, such as instrumentation.

N

newCondition() - Method in interface com.atlassian.beehive.ClusterLock
This optional operation from the java Lock interface is not supported in ClusterLock.

O

onDbErased() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
Notify the service about removal of any records in tables used by SPI dao implementations during runtime.

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).
runLockTesters(AbstractClusterLockServiceTckTest.LockTester...) - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
runTest() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest.LockTester
The implementation of the basic sequence described in the class documentation.

S

shutdown() - Method in class com.atlassian.beehive.db.DatabaseClusterLockService
 
SimpleClusterLockService - Class in com.atlassian.beehive.simple
Simple implementation of ClusterLockService that works for a single node application.
SimpleClusterLockService() - Constructor for class com.atlassian.beehive.simple.SimpleClusterLockService
 
SORT_BY_LABEL - Static variable in enum com.atlassian.beehive.core.stats.StatisticsKey
Sorts statistics keys by label.
StatisticsKey - Enum in com.atlassian.beehive.core.stats
Represents some type of information that might be collected for a ManagedClusterLock.
StatisticsType - Enum in com.atlassian.beehive.core.stats
The type of statistic that a StatisticsKey represents.

T

test_runWithLock_differentLockNames() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
test_runWithLock_doInterrupt() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
test_runWithLock_reentrancy() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
test_runWithLock_sameLockNames() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
test_runWithLockInterruptibly_doInterruptBefore() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
test_runWithLockInterruptibly_doInterruptRace() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
This test covers optional functionality.
test_tryRunWithLock_acquireLater() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
test_tryRunWithLock_no_acquire() - Method in class com.atlassian.beehive.AbstractClusterLockServiceTckTest
 
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.

V

valueOf(String) - Static method in enum com.atlassian.beehive.core.stats.StatisticsKey
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.beehive.core.stats.StatisticsType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.atlassian.beehive.core.stats.StatisticsKey
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.beehive.core.stats.StatisticsType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G H I L M N O R S T U V 
Skip navigation links

Copyright © 2019 Atlassian. All rights reserved.