GigaSpaces XAP 7.0 API

com.j_spaces.core.client
Class EntryVersionConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.jini.core.entry.UnusableEntryException
              extended by com.j_spaces.core.DetailedUnusableEntryException
                  extended by com.j_spaces.core.client.EntryVersionConflictException
All Implemented Interfaces:
Serializable

public class EntryVersionConflictException
extends DetailedUnusableEntryException

This exception is thrown when update/take operation is rejected as a result of optimistic locking version conflict.

Version:
3.0
Author:
Yechiel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.jini.core.entry.UnusableEntryException
nestedExceptions, partialEntry, unusableFields
 
Constructor Summary
EntryVersionConflictException(String UID, int spaceVersionID, int clientVersionID, String operation)
           
 
Method Summary
 int getClientVersionID()
          Return entry client Version ID
 String getOperation()
          Return the space operation caused the conflict Take or Update
 int getSpaceVersionID()
          Return entry Space Version ID
 String getUID()
          Return entry UID
 
Methods inherited from class com.j_spaces.core.DetailedUnusableEntryException
getMessage
 
Methods inherited from class net.jini.core.entry.UnusableEntryException
printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntryVersionConflictException

public EntryVersionConflictException(String UID,
                                     int spaceVersionID,
                                     int clientVersionID,
                                     String operation)
Method Detail

getUID

public String getUID()
Return entry UID


getSpaceVersionID

public int getSpaceVersionID()
Return entry Space Version ID


getClientVersionID

public int getClientVersionID()
Return entry client Version ID


getOperation

public String getOperation()
Return the space operation caused the conflict Take or Update


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.