A B C D G I K L N O R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acquireLockException(Exception) - Method in interface org.openbites.concurrent.locks.gcs.GcsLockListener
-
Callback for when exception has been encountered during lock acquisition
- addLockListener(GcsLockListener) - Method in class org.openbites.concurrent.locks.gcs.GcsLock
-
Add a lock listener as the callback for state change
B
- build() - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig.Builder
C
- cleanupDeadLockException(Exception) - Method in interface org.openbites.concurrent.locks.gcs.GcsLockListener
-
Callback for when exception has been encountered while cleaning up the expired lock
D
- DistributedLock - Interface in org.openbites.concurrent.locks
-
An interface adapted from
Lock
G
- GcsLock - Class in org.openbites.concurrent.locks.gcs
- GcsLock(GcsLockConfig) - Constructor for class org.openbites.concurrent.locks.gcs.GcsLock
- GcsLockConfig - Class in org.openbites.concurrent.locks.gcs
- GcsLockConfig.Builder - Class in org.openbites.concurrent.locks.gcs
- GcsLockListener - Interface in org.openbites.concurrent.locks.gcs
- getGcsBucketName() - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig
- getGcsLockFilename() - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig
- getLifeExtensionInSeconds() - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig
- getRefreshIntervalInSeconds() - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig
I
- isHeldByCurrentThread() - Method in class org.openbites.concurrent.locks.gcs.GcsLock
- isLocked() - Method in class org.openbites.concurrent.locks.gcs.GcsLock
K
- keepLockAliveException(Exception) - Method in interface org.openbites.concurrent.locks.gcs.GcsLockListener
-
Callback for when exception has been encountered while keeping the lock alive
L
- lock() - Method in class org.openbites.concurrent.locks.gcs.GcsLock
-
Acquires the lock.
- lockInterruptibly() - Method in class org.openbites.concurrent.locks.gcs.GcsLock
-
Acquires the lock unless the current thread is interrupted.
N
- newBuilder() - Static method in class org.openbites.concurrent.locks.gcs.GcsLockConfig
- newCondition() - Method in interface org.openbites.concurrent.locks.DistributedLock
-
Not supported by default
O
- org.openbites.concurrent.locks - package org.openbites.concurrent.locks
- org.openbites.concurrent.locks.gcs - package org.openbites.concurrent.locks.gcs
R
- releaseLockException(Exception) - Method in interface org.openbites.concurrent.locks.gcs.GcsLockListener
-
Callback for when exception has been encountered during lock release
- removeLockListener(GcsLockListener) - Method in class org.openbites.concurrent.locks.gcs.GcsLock
-
Remove a lock listener as the callback for state change
S
- setGcsBucketName(String) - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig.Builder
- setGcsLockFilename(String) - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig.Builder
- setLifeExtensionInSeconds(Integer) - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig.Builder
- setRefreshIntervalInSeconds(Integer) - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig.Builder
T
- toString() - Method in class org.openbites.concurrent.locks.gcs.GcsLockConfig
- tryLock() - Method in class org.openbites.concurrent.locks.gcs.GcsLock
-
Acquires the lock only if it is free at the time of invocation.
- tryLock(long, TimeUnit) - Method in class org.openbites.concurrent.locks.gcs.GcsLock
-
Acquires the lock if it is free within the given waiting time and the current thread has not been interrupted.
U
A B C D G I K L N O R S T UAll Classes All Packages