From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/java/com/sleepycat/db/LockMode.html | 753 +++++++++++++++---------------- 1 file changed, 369 insertions(+), 384 deletions(-) (limited to 'docs/java/com/sleepycat/db/LockMode.html') diff --git a/docs/java/com/sleepycat/db/LockMode.html b/docs/java/com/sleepycat/db/LockMode.html index 6cc892de..66d9394f 100644 --- a/docs/java/com/sleepycat/db/LockMode.html +++ b/docs/java/com/sleepycat/db/LockMode.html @@ -1,417 +1,402 @@ - - - - - -LockMode (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class LockMode

-
-java.lang.Object
-  extended by com.sleepycat.db.LockMode
-
-
-
-
public final class LockMode
extends Object
- - -

-Locking modes for database operations. Locking modes are required -parameters for operations that retrieve data or modify the database. -

- -

-


- -

+

+
com.sleepycat.db
+

Class LockMode

+
+
+ +
+
    +
  • +
    +
    +
    public final class LockMode
    +extends java.lang.Object
    +
    Locking modes for database operations. Locking modes are required +parameters for operations that retrieve data or modify the database.
    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Field Summary
    -static LockModeDEFAULT - -
    -          Acquire read locks for read operations and write locks for write - operations.
    -static LockModeDEGREE_2 - -
    -          Deprecated. This has been replaced by READ_COMMITTED to conform to ANSI - database isolation terminology.
    -static LockModeDIRTY_READ - -
    -          Deprecated. This has been replaced by READ_UNCOMMITTED to conform to ANSI - database isolation terminology.
    -static LockModeIGNORE_LEASES - -
    -          Return the data item irrespective of the state of master leases.
    -static LockModeREAD_COMMITTED - -
    -          Read committed isolation provides for cursor stability but not repeatable - reads.
    -static LockModeREAD_UNCOMMITTED - -
    -          Read modified but not yet committed data.
    -static LockModeRMW - -
    -          Acquire write locks instead of read locks when doing the retrieval.
    -  +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static LockModeDEFAULT +
      Acquire read locks for read operations and write locks for write + operations.
      +
      static LockModeDEGREE_2 +
      Deprecated.  +
      This has been replaced by READ_COMMITTED to conform to ANSI + database isolation terminology.
      +
      +
      static LockModeDIRTY_READ +
      Deprecated.  +
      This has been replaced by READ_UNCOMMITTED to conform to ANSI + database isolation terminology.
      +
      +
      static LockModeIGNORE_LEASES +
      Return the data item irrespective of the state of master leases.
      +
      static LockModeREAD_COMMITTED +
      Read committed isolation provides for cursor stability but not repeatable + reads.
      +
      static LockModeREAD_UNCOMMITTED +
      Read modified but not yet committed data.
      +
      static LockModeRMW +
      Acquire write locks instead of read locks when doing the retrieval.
      +
      +
    • +
    - - - - - - - - - - -
    -Method Summary
    - StringtoString() - -
    -          
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString()
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Field Detail
    - -

    -DEFAULT

    -
    -public static final LockMode DEFAULT
    -
    -
    Acquire read locks for read operations and write locks for write - operations. -

    -

    -
    -
    -
    - -

    -READ_UNCOMMITTED

    -
    -public static final LockMode READ_UNCOMMITTED
    -
    -
    Read modified but not yet committed data. -

    -

    -
    -
    -
    - -

    -READ_COMMITTED

    -
    -public static final LockMode READ_COMMITTED
    -
    -
    Read committed isolation provides for cursor stability but not repeatable +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        DEFAULT

        +
        public static final LockMode DEFAULT
        +
        Acquire read locks for read operations and write locks for write + operations.
        +
      • +
      + + + +
        +
      • +

        READ_UNCOMMITTED

        +
        public static final LockMode READ_UNCOMMITTED
        +
        Read modified but not yet committed data.
        +
      • +
      + + + +
        +
      • +

        READ_COMMITTED

        +
        public static final LockMode READ_COMMITTED
        +
        Read committed isolation provides for cursor stability but not repeatable reads. Data items which have been previously read by this transaction may be deleted or modified by other transactions before the cursor is closed or the transaction completes.

        - Note that this LockMode may only be passed to Database get - methods, not to Cursor methods. To configure a cursor for - Read committed isolation, use CursorConfig.setReadCommitted(boolean). -

        -

        -
        -
    -
    - -

    -RMW

    -
    -public static final LockMode RMW
    -
    -
    Acquire write locks instead of read locks when doing the retrieval. + Note that this LockMode may only be passed to Database get + methods, not to Cursor methods. To configure a cursor for + Read committed isolation, use CursorConfig.setReadCommitted(boolean).
+ + + + + + + + + + + + + + + + + + + + - - - - - - -
-Method Detail
- -

-toString

-
-public String toString()
-
-
-

-

-
Overrides:
toString in class Object
-
-
-
-
-
+ + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1