public class OSimpleLockManagerImpl<T> extends Object implements OSimpleLockManager<T>
Constructor and Description |
---|
OSimpleLockManagerImpl(long timeout) |
Modifier and Type | Method and Description |
---|---|
long |
getTimeout() |
void |
lock(T key) |
void |
lock(T key,
long timeout) |
void |
reset() |
long |
size() |
void |
unlock(T key) |
public void lock(T key)
lock
in interface OSimpleLockManager<T>
public void lock(T key, long timeout)
lock
in interface OSimpleLockManager<T>
public void unlock(T key)
unlock
in interface OSimpleLockManager<T>
public void reset()
reset
in interface OSimpleLockManager<T>
public long getTimeout()
getTimeout
in interface OSimpleLockManager<T>
public long size()
size
in interface OSimpleLockManager<T>
Copyright © 2009–2020 OrientDB. All rights reserved.