@Module public abstract class AbstractLockManager extends java.lang.Object implements LockManager
Constructor and Description |
---|
AbstractLockManager() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
abstract java.util.concurrent.locks.Lock |
getOrCreateLock(java.lang.String name)
Creates a new lock with the given name;
|
void |
start() |
java.lang.String |
toString() |
public abstract java.util.concurrent.locks.Lock getOrCreateLock(java.lang.String name)
getOrCreateLock
in interface LockManager
public void start()
public void close()
public java.lang.String toString()
toString
in class java.lang.Object