Package org.eclipse.emf.cdo.common.lock
Schnittstelle CDOLockChangeInfo
- Alle Superschnittstellen:
CDOBranchPoint,CDOBranchProvider,CDOTimeProvider
- Alle bekannten Unterschnittstellen:
CDOSessionLocksChangedEvent,CDOViewLocksChangedEvent
- Alle bekannten Implementierungsklassen:
AbstractCDOLockChangeInfo
Represents a change in the lock state of a set of objects. Instances are meant to be sent from the server to the
client for the purpose of notifying the latter.
- Seit:
- 4.1
- Autor:
- Caspar De Groot
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic enumEnumerates the possible locking operations. -
Feldübersicht
Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.org.eclipse.net4j.util.concurrent.IRWLockManager.LockTypeVeraltet.Set<org.eclipse.net4j.util.concurrent.IRWLockManager.LockType> Veraltet.As of 4.15 usegetOperations().longReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.boolean
-
Methodendetails
-
getBranch
CDOBranch getBranch()Beschreibung aus Schnittstelle kopiert:CDOBranchPointReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.- Angegeben von:
getBranchin SchnittstelleCDOBranchPoint- Angegeben von:
getBranchin SchnittstelleCDOBranchProvider- Gibt zurück:
- The branch at which the lock changes took place, same as
getView().getBranch().
-
getTimeStamp
long getTimeStamp()Beschreibung aus Schnittstelle kopiert:CDOBranchPointReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.- Angegeben von:
getTimeStampin SchnittstelleCDOBranchPoint- Angegeben von:
getTimeStampin SchnittstelleCDOTimeProvider- Gibt zurück:
- The repository time at which the lock changes took place. This is only an informal indication; no formal relation (e.g. an ordering) with commit time stamps is guaranteed.
-
getLockOwner
CDOLockOwner getLockOwner()- Gibt zurück:
- The view, represented as a
CDOLockOwner, that authored the lock changes.
-
getLockDeltas
CDOLockDelta[] getLockDeltas()- Seit:
- 4.15
-
getLockStates
CDOLockState[] getLockStates()- Gibt zurück:
- The new lock states of the objects that were affected by the change
-
getOperations
Set<CDOLockChangeInfo.Operation> getOperations()- Seit:
- 4.15
-
getLockTypes
Set<org.eclipse.net4j.util.concurrent.IRWLockManager.LockType> getLockTypes()- Seit:
- 4.15
-
getAffectedIDs
- Seit:
- 4.15
-
isInvalidateAll
boolean isInvalidateAll()- Gibt zurück:
trueif this instance signals that alllock statesmust be invalidated,falseotherwise
-
getOperation
Veraltet.As of 4.15 usegetOperations().- Gibt zurück:
- the type of lock operation that caused the lock changes
-
getLockType
Veraltet.As of 4.15 usegetLockTypes().- Gibt zurück:
- the type of locks that were affected by the lock operation
-
getLockTypes().