From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../amazon/carbonado/OptimisticLockException.html | 427 +++++++++++++++++++++ 1 file changed, 427 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/OptimisticLockException.html (limited to 'apidocs/com/amazon/carbonado/OptimisticLockException.html') diff --git a/apidocs/com/amazon/carbonado/OptimisticLockException.html b/apidocs/com/amazon/carbonado/OptimisticLockException.html new file mode 100644 index 0000000..9028548 --- /dev/null +++ b/apidocs/com/amazon/carbonado/OptimisticLockException.html @@ -0,0 +1,427 @@ + + + + + + +OptimisticLockException (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado
+

Class OptimisticLockException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class OptimisticLockException
    +extends PersistException
    +
    An OptimisticLockException is thrown if the Repository is using + optimistic locking for concurrency control, and lock aquisition failed. + This exception may also be thrown if multiversion concurrency control (MVCC) + is being used and the commit fails.
    +
    Author:
    +
    Brian S O'Neill
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException()
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(java.lang.String message)
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(java.lang.String message,
        +                       java.lang.Throwable cause)
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(java.lang.Throwable cause)
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(long expectedVersion)
        +
        Parameters:
        expectedVersion - version number that was expected for persistent + record when update was executed
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(java.lang.Object expectedVersion)
        +
        Parameters:
        expectedVersion - version number that was expected for persistent + record when update was executed
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(java.lang.Object expectedVersion,
        +                       java.lang.Object savedVersion)
        +
        Parameters:
        expectedVersion - version number that was expected for persistent + record when update was executed
        savedVersion - actual persistent version number of storable
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(java.lang.Object expectedVersion,
        +                       java.lang.Object savedVersion,
        +                       Storable s)
        +
        Parameters:
        expectedVersion - version number that was expected for persistent + record when update was executed
        savedVersion - actual persistent version number of storable
        s - Storable which was acted upon
        +
      • +
      + + + +
        +
      • +

        OptimisticLockException

        +
        public OptimisticLockException(java.lang.Object savedVersion,
        +                       Storable s,
        +                       java.lang.Object newVersion)
        +
        Construct exception for when new version was expected to have increased.
        +
        Parameters:
        savedVersion - actual persistent version number of storable
        s - Storable which was acted upon
        newVersion - new version which was provided
        Since:
        +
        1.2
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getStorable

        +
        public Storable getStorable()
        +
        Returns the Storable which was acted upon, or null if not available.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3