public class BlueReadLock<T>
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
BlueReadLock(LockManager<T> lockManager,
T key) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
T |
getKey() |
void |
release() |
public BlueReadLock(LockManager<T> lockManager, T key)
public T getKey()
public void release()
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable