Uses of Class
org.eclipse.net4j.util.concurrent.RWOLockManager.LockState
Package
Description
Utility interfaces and classes commonly useful in concurrent programming.
-
Uses of RWOLockManager.LockState in org.eclipse.net4j.util.concurrent
Modifier and TypeMethodDescriptionRWOLockManager.createContextToLocksMap()
protected Map<OBJECT,
RWOLockManager.LockState<OBJECT, CONTEXT>> RWOLockManager.createObjectToLocksMap()
RWOLockManager.getContextToLocksMap()
All access to the returned map must be properly synchronized on thisRWOLockManager
.RWOLockManager.getLockStates()
Deprecated.protected final Map<OBJECT,
RWOLockManager.LockState<OBJECT, CONTEXT>> RWOLockManager.getObjectToLocksMap()
All access to the returned map must be properly synchronized on thisRWOLockManager
.IRWOLockManager.lock2
(IRWLockManager.LockType lockType, CONTEXT context, Collection<? extends OBJECT> objectsToLock, long timeout) Deprecated.RWOLockManager.lock2
(IRWLockManager.LockType type, CONTEXT context, Collection<? extends OBJECT> objectsToLock, long timeout) Deprecated.Deprecated.IRWOLockManager.unlock2
(CONTEXT context, Collection<? extends OBJECT> objectsToUnlock) Deprecated.IRWOLockManager.unlock2
(IRWLockManager.LockType lockType, CONTEXT context, Collection<? extends OBJECT> objectsToUnlock) Deprecated.Deprecated.RWOLockManager.unlock2
(CONTEXT context, Collection<? extends OBJECT> objectsToUnlock) Deprecated.RWOLockManager.unlock2
(IRWLockManager.LockType lockType, CONTEXT context, Collection<? extends OBJECT> objectsToUnlock) Deprecated.Modifier and TypeMethodDescriptionvoid
RWOLockManager.setLockState
(OBJECT key, RWOLockManager.LockState<OBJECT, CONTEXT> lockState) Deprecated.Modifier and TypeMethodDescriptionvoid
RWOLockManager.getLockStates
(Collection<OBJECT> keys, BiConsumer<OBJECT, RWOLockManager.LockState<OBJECT, CONTEXT>> consumer) void
RWOLockManager.getLockStates
(Consumer<RWOLockManager.LockState<OBJECT, CONTEXT>> consumer) long
IRWOLockManager.lock
(CONTEXT context, Collection<? extends OBJECT> objects, IRWLockManager.LockType lockType, int count, long timeout, IRWOLockManager.LockDeltaHandler<OBJECT, CONTEXT> deltaHandler, Consumer<RWOLockManager.LockState<OBJECT, CONTEXT>> stateHandler) Adds locks of the given lockType, owned by the given context to the given objects.long
RWOLockManager.lock
(CONTEXT context, Collection<? extends OBJECT> objects, IRWLockManager.LockType lockType, int count, long timeout, IRWOLockManager.LockDeltaHandler<OBJECT, CONTEXT> deltaHandler, Consumer<RWOLockManager.LockState<OBJECT, CONTEXT>> stateHandler) long
IRWOLockManager.unlock
(CONTEXT context, Collection<? extends OBJECT> objects, IRWLockManager.LockType lockType, int count, IRWOLockManager.LockDeltaHandler<OBJECT, CONTEXT> deltaHandler, Consumer<RWOLockManager.LockState<OBJECT, CONTEXT>> stateHandler) Removes locks of the given lockType, owned by the given context from the given objects.long
RWOLockManager.unlock
(CONTEXT context, Collection<? extends OBJECT> objects, IRWLockManager.LockType lockType, int count, IRWOLockManager.LockDeltaHandler<OBJECT, CONTEXT> deltaHandler, Consumer<RWOLockManager.LockState<OBJECT, CONTEXT>> stateHandler)