# Uses of Class
org.eclipse.net4j.util.concurrent.RWOLockManager.LockState

Packages that use RWOLockManager.LockState
Package
Description
org.eclipse.net4j.util.concurrent
Utility interfaces and classes commonly useful in concurrent programming.

## Uses of RWOLockManager.LockState in org.eclipse.net4j.util.concurrent

Methods in org.eclipse.net4j.util.concurrent that return RWOLockManager.LockState
Modifier and Type
Method
Description
`RWOLockManager.LockState<OBJECT,CONTEXT>`
RWOLockManager.`getLockState(OBJECT key)`
Methods in org.eclipse.net4j.util.concurrent that return types with arguments of type RWOLockManager.LockState
Modifier and Type
Method
Description
`protected Map<CONTEXT,Set<RWOLockManager.LockState<OBJECT,CONTEXT>>>`
RWOLockManager.`createContextToLocksMap()`
`protected Map<OBJECT,RWOLockManager.LockState<OBJECT,CONTEXT>>`
RWOLockManager.`createObjectToLocksMap()`
`protected final Map<CONTEXT,Set<RWOLockManager.LockState<OBJECT,CONTEXT>>>`
RWOLockManager.`getContextToLocksMap()`
All access to the returned map must be properly synchronized on this `RWOLockManager`.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
RWOLockManager.`getLockStates()`
Deprecated.
`protected final Map<OBJECT,RWOLockManager.LockState<OBJECT,CONTEXT>>`
RWOLockManager.`getObjectToLocksMap()`
All access to the returned map must be properly synchronized on this `RWOLockManager`.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
IRWOLockManager.`lock2(IRWLockManager.LockType lockType, CONTEXT context, Collection<? extends OBJECT> objectsToLock, long timeout)`
Deprecated.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
RWOLockManager.`lock2(IRWLockManager.LockType type, CONTEXT context, Collection<? extends OBJECT> objectsToLock, long timeout)`
Deprecated.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
IRWOLockManager.`unlock2(CONTEXT context)`
Deprecated.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
IRWOLockManager.`unlock2(CONTEXT context, Collection<? extends OBJECT> objectsToUnlock)`
Deprecated.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
IRWOLockManager.`unlock2(IRWLockManager.LockType lockType, CONTEXT context, Collection<? extends OBJECT> objectsToUnlock)`
Deprecated.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
RWOLockManager.`unlock2(CONTEXT context)`
Deprecated.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
RWOLockManager.`unlock2(CONTEXT context, Collection<? extends OBJECT> objectsToUnlock)`
Deprecated.
`List<RWOLockManager.LockState<OBJECT,CONTEXT>>`
RWOLockManager.`unlock2(IRWLockManager.LockType lockType, CONTEXT context, Collection<? extends OBJECT> objectsToUnlock)`
Deprecated.
Methods in org.eclipse.net4j.util.concurrent with parameters of type RWOLockManager.LockState
Modifier and Type
Method
Description
`void`
RWOLockManager.`setLockState(OBJECT key, RWOLockManager.LockState<OBJECT,CONTEXT> lockState)`
Deprecated.
Method parameters in org.eclipse.net4j.util.concurrent with type arguments of type RWOLockManager.LockState
Modifier and Type
Method
Description
`void`
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)`