Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
G
I
S
W
C
com.deftlabs.lock.mongo
- package com.deftlabs.lock.mongo
create(String)
- Method in interface com.deftlabs.lock.mongo.
DistributedLockSvc
Create a new distributed lock.
create(String, DistributedLockOptions)
- Method in interface com.deftlabs.lock.mongo.
DistributedLockSvc
Create a new distributed lock.
D
destroy(DistributedLock)
- Method in interface com.deftlabs.lock.mongo.
DistributedLockSvc
Destroy a distributed lock.
DistributedLock
- Interface in
com.deftlabs.lock.mongo
The distributed lock interface.
DistributedLockException
- Exception in
com.deftlabs.lock.mongo
The distributed lock exception.
DistributedLockException()
- Constructor for exception com.deftlabs.lock.mongo.
DistributedLockException
DistributedLockException(String)
- Constructor for exception com.deftlabs.lock.mongo.
DistributedLockException
DistributedLockException(String, Throwable)
- Constructor for exception com.deftlabs.lock.mongo.
DistributedLockException
DistributedLockException(Throwable)
- Constructor for exception com.deftlabs.lock.mongo.
DistributedLockException
DistributedLockOptions
- Class in
com.deftlabs.lock.mongo
The options/configuration on a per lock basis.
DistributedLockOptions()
- Constructor for class com.deftlabs.lock.mongo.
DistributedLockOptions
DistributedLockSvc
- Interface in
com.deftlabs.lock.mongo
The distributed lock service interface.
DistributedLockSvcFactory
- Class in
com.deftlabs.lock.mongo
The distrbuted lock service factory.
DistributedLockSvcFactory(DistributedLockSvcOptions)
- Constructor for class com.deftlabs.lock.mongo.
DistributedLockSvcFactory
DistributedLockSvcOptions
- Class in
com.deftlabs.lock.mongo
The global distributed lock service options/config.
DistributedLockSvcOptions(String)
- Constructor for class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
The basic constructor.
DistributedLockSvcOptions(String, String, String)
- Constructor for class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
Constructor that allows the user to specify database and colleciton name.
DistributedLockSvcOptions(String, String, String, String)
- Constructor for class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
Constructor that allows the user to specify database, colleciton and app name.
G
getAppName()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getCollectionName()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getDbName()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getEnableHistory()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getHistoryCollectionName()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getHistoryIsCapped()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getHistorySize()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getHostAddress()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getHostname()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getInactiveLockTimeout()
- Method in class com.deftlabs.lock.mongo.
DistributedLockOptions
Returns the inactive lock timeout.
getLibVersion()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getLockId()
- Method in interface com.deftlabs.lock.mongo.
DistributedLock
Returns the lock id if current locked (null if not).
getLockSvc()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcFactory
Returns the global lock service.
getMongoUri()
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
getName()
- Method in interface com.deftlabs.lock.mongo.
DistributedLock
Returns the lock name.
getOptions()
- Method in interface com.deftlabs.lock.mongo.
DistributedLock
Returns the options used to configure this lock.
I
isLocked()
- Method in interface com.deftlabs.lock.mongo.
DistributedLock
Returns true if the lock is currently locked by the local process.
isRunning()
- Method in interface com.deftlabs.lock.mongo.
DistributedLockSvc
Returns true if the lock service is running.
S
setEnableHistory(boolean)
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
True by default.
setHistoryCollectionName(String)
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
The default collection name is: lockHistory.
setHistoryIsCapped(boolean)
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
True by default.
setHistorySize(long)
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
Set the size (in bytes) of the historical capped collection.
setHostname(String)
- Method in class com.deftlabs.lock.mongo.
DistributedLockSvcOptions
setInactiveLockTimeout(int)
- Method in class com.deftlabs.lock.mongo.
DistributedLockOptions
Set the inactive lock timeout (time in milliseconds).
shutdown()
- Method in interface com.deftlabs.lock.mongo.
DistributedLockSvc
Part of the usage contract.
startup()
- Method in interface com.deftlabs.lock.mongo.
DistributedLockSvc
Part of the usage contract.
W
wakeupBlocked()
- Method in interface com.deftlabs.lock.mongo.
DistributedLock
Wakeup any blocked threads.
C
D
G
I
S
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes