Package com.teracloud.streams.dl
Class DistributedLocks
java.lang.Object
com.teracloud.streams.dl.DistributedLocks
This is the main entry point into the locking API, used to create a
LockFactory
.
It is assumed that the DistributedStores
class has been configured using its initialize method before attempts to utilize the DistributedLocks
are made.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DistributedLocks
public DistributedLocks()
-
-
Method Details
-
getLockFactory
Get a LockFactory instance- Returns:
- the one and only factory we will have per process.
-