Package org.eclipse.emf.spi.cdo
Class CDOSessionProtocol.UnlockObjectsResult
java.lang.Object
org.eclipse.emf.spi.cdo.CDOSessionProtocol.UnlockObjectsResult
- Enclosing interface:
CDOSessionProtocol
Carries the repository's response to an object-unlock request, including the lock changes and their update timestamp
so the client can bring its lock state in line with the repository.
- Since:
- 4.1
- Author:
- Eike Stepper
-
Constructor Summary
ConstructorsConstructorDescriptionUnlockObjectsResult(long timestamp, List<CDOLockDelta> lockDeltas, List<CDOLockState> lockStates) UnlockObjectsResult(long timestamp, List<CDOLockDelta> lockDeltas, List<CDOLockState> lockStates, long lockModCount) Creates an unlock result with the sequence number of its authoritative lock change.UnlockObjectsResult(CDOLockState[] newLockStates, long timestamp) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the exact per-session sequence number of this unlock change, or zero if the result contains no visible lock change.Deprecated.long
-
Constructor Details
-
UnlockObjectsResult
public UnlockObjectsResult(long timestamp, List<CDOLockDelta> lockDeltas, List<CDOLockState> lockStates) - Since:
- 4.15
-
UnlockObjectsResult
public UnlockObjectsResult(long timestamp, List<CDOLockDelta> lockDeltas, List<CDOLockState> lockStates, long lockModCount) Creates an unlock result with the sequence number of its authoritative lock change.- Since:
- 4.31
-
UnlockObjectsResult
Deprecated.
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
getLockModCount
public long getLockModCount()Returns the exact per-session sequence number of this unlock change, or zero if the result contains no visible lock change.- Since:
- 4.31
-
getLockDeltas
- Since:
- 4.15
-
getLockStates
- Since:
- 4.15
-
getNewLockStates
Deprecated.As of 4.15 usegetLockStates().
-
getLockStates().