Class AbstractCDOLockChangeInfo
java.lang.Object
java.util.EventObject
org.eclipse.net4j.util.event.Event
org.eclipse.emf.cdo.spi.common.lock.AbstractCDOLockChangeInfo
- All Implemented Interfaces:
Serializable,CDOBranchPoint,CDOBranchProvider,CDOLockChangeInfo,CDOTimeProvider,org.eclipse.net4j.util.event.IEvent
public abstract class AbstractCDOLockChangeInfo
extends org.eclipse.net4j.util.event.Event
implements CDOLockChangeInfo
Shared event implementation for lock notifications backed by a set of lock deltas. It derives the affected IDs,
lock types, and lock/unlock operations from those deltas so listeners can summarize a batch of lock changes.
- Since:
- 4.15
- Author:
- Eike Stepper
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.lock.CDOLockChangeInfo
CDOLockChangeInfo.Operation -
Field Summary
Fields inherited from class java.util.EventObject
sourceFields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal org.eclipse.net4j.util.concurrent.IRWLockManager.LockTypeDeprecated.final Set<org.eclipse.net4j.util.concurrent.IRWLockManager.LockType> Deprecated.final Set<CDOLockChangeInfo.Operation> Methods inherited from class org.eclipse.net4j.util.event.Event
formatAdditionalParameters, formatEventName, getSource, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.cdo.common.lock.CDOLockChangeInfo
getBranch, getLockDeltas, getLockOwner, getLockStates, getTimeStamp, isAdministrative, isInvalidateAll
-
Constructor Details
-
AbstractCDOLockChangeInfo
public AbstractCDOLockChangeInfo(org.eclipse.net4j.util.event.INotifier notifier)
-
-
Method Details
-
getOperations
- Specified by:
getOperationsin interfaceCDOLockChangeInfo
-
getLockTypes
- Specified by:
getLockTypesin interfaceCDOLockChangeInfo
-
getAffectedIDs
- Specified by:
getAffectedIDsin interfaceCDOLockChangeInfo
-
getOperation
Deprecated.- Specified by:
getOperationin interfaceCDOLockChangeInfo- Returns:
- the type of lock operation that caused the lock changes
-
getLockType
Deprecated.- Specified by:
getLockTypein interfaceCDOLockChangeInfo- Returns:
- the type of locks that were affected by the lock operation
-