Package org.eclipse.emf.spi.cdo
Interface CDOLockStateCache
- All Superinterfaces:
org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.event.INotifier
public interface CDOLockStateCache
extends org.eclipse.net4j.util.lifecycle.ILifecycle
- Since:
- 4.15
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLockStates
(CDOBranch branch, Collection<? extends CDOLockState> newLockStates, Consumer<CDOLockState> consumer) void
forEachLockState
(CDOBranch branch, CDOLockOwner owner, Consumer<CDOLockState> consumer) getLockState
(CDOBranch branch, CDOID id) void
getLockStates
(CDOBranch branch, Collection<CDOID> ids, boolean loadOnDemand, Consumer<CDOLockState> consumer) void
remapOwner
(CDOBranch branch, CDOLockOwner oldOwner, CDOLockOwner newOwner) void
removeLockStates
(CDOBranch branch) void
removeLockStates
(CDOBranch branch, Collection<CDOID> ids, Consumer<CDOLockState> consumer) removeOwner
(CDOBranch branch, CDOLockOwner owner, Consumer<CDOLockState> consumer) void
updateLockStates
(CDOBranch branch, Collection<CDOLockDelta> lockDeltas, Collection<CDOLockState> lockStates, Consumer<CDOLockState> consumer) Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getSession
InternalCDOSession getSession() -
createKey
-
getLockState
-
getLockStates
void getLockStates(CDOBranch branch, Collection<CDOID> ids, boolean loadOnDemand, Consumer<CDOLockState> consumer) -
forEachLockState
-
addLockStates
void addLockStates(CDOBranch branch, Collection<? extends CDOLockState> newLockStates, Consumer<CDOLockState> consumer) -
updateLockStates
void updateLockStates(CDOBranch branch, Collection<CDOLockDelta> lockDeltas, Collection<CDOLockState> lockStates, Consumer<CDOLockState> consumer) -
removeLockStates
-
removeLockStates
-
removeOwner
List<CDOLockDelta> removeOwner(CDOBranch branch, CDOLockOwner owner, Consumer<CDOLockState> consumer) -
remapOwner
-