public class ONotThreadRWLockManager<T> extends Object implements OSimpleRWLockManager<T>
Constructor and Description |
---|
ONotThreadRWLockManager() |
Modifier and Type | Method and Description |
---|---|
void |
acquireReadLock(T key,
long timeout) |
void |
acquireWriteLock(T key,
long timeout) |
void |
lock(T key,
boolean shared,
long timeout) |
void |
releaseReadLock(T key) |
void |
releaseWriteLock(T key) |
void |
unlock(T key,
boolean shared) |
public void lock(T key, boolean shared, long timeout)
public void unlock(T key, boolean shared)
public void acquireReadLock(T key, long timeout)
acquireReadLock
in interface OSimpleRWLockManager<T>
public void acquireWriteLock(T key, long timeout)
acquireWriteLock
in interface OSimpleRWLockManager<T>
public void releaseReadLock(T key)
releaseReadLock
in interface OSimpleRWLockManager<T>
public void releaseWriteLock(T key)
releaseWriteLock
in interface OSimpleRWLockManager<T>
Copyright © 2009–2020 OrientDB. All rights reserved.