org.eclipse.emf.spi.cdo
Class CDOSessionProtocol.LockObjectsResult

java.lang.Object
  extended by org.eclipse.emf.spi.cdo.CDOSessionProtocol.LockObjectsResult
Enclosing interface:
CDOSessionProtocol

public static final class CDOSessionProtocol.LockObjectsResult
extends Object

Since:
4.0

Constructor Summary
CDOSessionProtocol.LockObjectsResult(boolean successful, boolean timedOut, boolean waitForUpdate, long requiredTimestamp, CDORevisionKey[] staleRevisions)
          Deprecated. 
CDOSessionProtocol.LockObjectsResult(boolean successful, boolean timedOut, boolean waitForUpdate, long requiredTimestamp, CDORevisionKey[] staleRevisions, CDOLockState[] newLockStates, long timestamp)
           
 
Method Summary
 CDOLockState[] getNewLockStates()
           
 long getRequiredTimestamp()
           
 CDORevisionKey[] getStaleRevisions()
           
 long getTimestamp()
           
 boolean isSuccessful()
           
 boolean isTimedOut()
           
 boolean isWaitForUpdate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOSessionProtocol.LockObjectsResult

@Deprecated
public CDOSessionProtocol.LockObjectsResult(boolean successful,
                                                       boolean timedOut,
                                                       boolean waitForUpdate,
                                                       long requiredTimestamp,
                                                       CDORevisionKey[] staleRevisions)
Deprecated. 


CDOSessionProtocol.LockObjectsResult

public CDOSessionProtocol.LockObjectsResult(boolean successful,
                                            boolean timedOut,
                                            boolean waitForUpdate,
                                            long requiredTimestamp,
                                            CDORevisionKey[] staleRevisions,
                                            CDOLockState[] newLockStates,
                                            long timestamp)
Since:
4.1
Method Detail

isSuccessful

public boolean isSuccessful()

isTimedOut

public boolean isTimedOut()

isWaitForUpdate

public boolean isWaitForUpdate()

getRequiredTimestamp

public long getRequiredTimestamp()

getStaleRevisions

public CDORevisionKey[] getStaleRevisions()

getNewLockStates

public CDOLockState[] getNewLockStates()
Since:
4.1

getTimestamp

public long getTimestamp()
Since:
4.1


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.