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 enum
Enumerates 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, ornull
if this branch point is thebase
of themain branch
.org.eclipse.net4j.util.concurrent.IRWLockManager.LockType
Veraltet.Set
<org.eclipse.net4j.util.concurrent.IRWLockManager.LockType> Veraltet.As of 4.15 usegetOperations()
.long
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.boolean
-
Methodendetails
-
getBranch
CDOBranch getBranch()Beschreibung aus Schnittstelle kopiert:CDOBranchPoint
Returns the branch of this branch point, ornull
if this branch point is thebase
of themain branch
.- Angegeben von:
getBranch
in SchnittstelleCDOBranchPoint
- Angegeben von:
getBranch
in SchnittstelleCDOBranchProvider
- Gibt zurück:
- The branch at which the lock changes took place, same as
getView().getBranch()
.
-
getTimeStamp
long getTimeStamp()Beschreibung aus Schnittstelle kopiert:CDOBranchPoint
Returns the time stamp of this branch point, or the fixed special time stampunspecified
if this branch point marks thehead
of a branch.- Angegeben von:
getTimeStamp
in SchnittstelleCDOBranchPoint
- Angegeben von:
getTimeStamp
in 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:
true
if this instance signals that alllock states
must be invalidated,false
otherwise
-
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()
.