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/TransactionConfig.html | 1596 ++++++++++----------- 1 file changed, 724 insertions(+), 872 deletions(-) (limited to 'docs/java/com/sleepycat/db/TransactionConfig.html') diff --git a/docs/java/com/sleepycat/db/TransactionConfig.html b/docs/java/com/sleepycat/db/TransactionConfig.html index 615431b8..f013c0c2 100644 --- a/docs/java/com/sleepycat/db/TransactionConfig.html +++ b/docs/java/com/sleepycat/db/TransactionConfig.html @@ -1,596 +1,519 @@ - - - - - -TransactionConfig (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class TransactionConfig

-
-java.lang.Object
-  extended by com.sleepycat.db.TransactionConfig
-
-
-
All Implemented Interfaces:
Cloneable
-
-
-
-
public class TransactionConfig
extends Object
implements Cloneable
- - -

-Specifies the attributes of a database environment transaction. -

- -

-


- -

+

+
com.sleepycat.db
+

Class TransactionConfig

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Cloneable
    +
    +
    +
    +
    public class TransactionConfig
    +extends java.lang.Object
    +implements java.lang.Cloneable
    +
    Specifies the attributes of a database environment transaction.
    +
  • +
+
+
+
    +
  • - - - - - - - - - - -
    -Field Summary
    -static TransactionConfigDEFAULT - -
    -          Default configuration used if null is passed to methods that create a - transaction.
    -  +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static TransactionConfigDEFAULT +
      Default configuration used if null is passed to methods that create a + transaction.
      +
      +
    • +
    - - - - - - - - - -
    -Constructor Summary
    TransactionConfig() - -
    -          An instance created using the default constructor is initialized - with the system's default settings.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TransactionConfig() +
      An instance created using the default constructor is initialized + with the system's default settings.
      +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - booleangetBulk() - -
    -          Return true if the Bulk attribute is set.
    - booleangetDegree2() - -
    -          Deprecated. This has been replaced by getReadCommitted() to conform to ANSI - database isolation terminology.
    - booleangetDirtyRead() - -
    -          Deprecated. This has been replaced by getReadUncommitted() to conform to ANSI - database isolation terminology.
    - booleangetNoSync() - -
    -          Return if the transaction is configured to not write or synchronously - flush the log it when commits.
    - booleangetNoWait() - -
    -          Return if the transaction is configured to not wait if a lock - request cannot be immediately granted.
    - booleangetReadCommitted() - -
    -          Return if the transaction is configured for read committed isolation.
    - booleangetReadUncommitted() - -
    -          Return if read operations performed by the transaction are configured to - return modified but not yet committed data.
    - booleangetSnapshot() - -
    -          Return true if the transaction is configured for Snapshot Isolation.
    - booleangetSync() - -
    -          Return if the transaction is configured to write and synchronously - flush the log it when commits.
    - booleangetWait() - -
    -          Return if the transaction is configured to wait if a lock - request cannot be immediately granted.
    - booleangetWriteNoSync() - -
    -          Return if the transaction is configured to write but not synchronously - flush the log it when commits.
    - voidsetBulk(boolean bulk) - -
    -          Configures the transaction to enable the transactional bulk insert - optimization.
    - voidsetDegree2(boolean degree2) - -
    -          Deprecated. This has been replaced by setReadCommitted(boolean) to conform to ANSI - database isolation terminology.
    - voidsetDirtyRead(boolean dirtyRead) - -
    -          Deprecated. This has been replaced by setReadUncommitted(boolean) to conform to ANSI - database isolation terminology.
    - voidsetNoSync(boolean noSync) - -
    -          Configure the transaction to not write or synchronously flush the log - it when commits.
    - voidsetNoWait(boolean noWait) - -
    -          Configure the transaction to not wait if a lock request cannot be - immediately granted.
    - voidsetReadCommitted(boolean readCommitted) - -
    -          Configure the transaction for read committed isolation.
    - voidsetReadUncommitted(boolean readUncommitted) - -
    -          Configure read operations performed by the transaction to return modified - but not yet committed data.
    - voidsetSnapshot(boolean snapshot) - -
    -          This transaction will execute with snapshot isolation.
    - voidsetSync(boolean sync) - -
    -          Configure the transaction to write and synchronously flush the log - it when commits.
    - voidsetWait(boolean wait) - -
    -          Configure the transaction to wait if a lock request cannot be - immediately granted.
    - voidsetWriteNoSync(boolean writeNoSync) - -
    -          Configure the transaction to write but not synchronously flush the log - it when commits.
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleangetBulk() +
      Return true if the Bulk attribute is set.
      +
      booleangetDegree2() +
      Deprecated.  +
      This has been replaced by getReadCommitted() to conform to ANSI + database isolation terminology.
      +
      +
      booleangetDirtyRead() +
      Deprecated.  +
      This has been replaced by getReadUncommitted() to conform to ANSI + database isolation terminology.
      +
      +
      booleangetNoSync() +
      Return if the transaction is configured to not write or synchronously + flush the log it when commits.
      +
      booleangetNoWait() +
      Return if the transaction is configured to not wait if a lock + request cannot be immediately granted.
      +
      booleangetReadCommitted() +
      Return if the transaction is configured for read committed isolation.
      +
      booleangetReadUncommitted() +
      Return if read operations performed by the transaction are configured to + return modified but not yet committed data.
      +
      booleangetSnapshot() +
      Return true if the transaction is configured for Snapshot Isolation.
      +
      booleangetSync() +
      Return if the transaction is configured to write and synchronously + flush the log it when commits.
      +
      booleangetWait() +
      Return if the transaction is configured to wait if a lock + request cannot be immediately granted.
      +
      booleangetWriteNoSync() +
      Return if the transaction is configured to write but not synchronously + flush the log it when commits.
      +
      voidsetBulk(boolean bulk) +
      Configures the transaction to enable the transactional bulk insert + optimization.
      +
      voidsetDegree2(boolean degree2) +
      Deprecated.  +
      This has been replaced by setReadCommitted(boolean) to conform to ANSI + database isolation terminology.
      +
      +
      voidsetDirtyRead(boolean dirtyRead) +
      Deprecated.  +
      This has been replaced by setReadUncommitted(boolean) to conform to ANSI + database isolation terminology.
      +
      +
      voidsetNoSync(boolean noSync) +
      Configure the transaction to not write or synchronously flush the log + it when commits.
      +
      voidsetNoWait(boolean noWait) +
      Configure the transaction to not wait if a lock request cannot be + immediately granted.
      +
      voidsetReadCommitted(boolean readCommitted) +
      Configure the transaction for read committed isolation.
      +
      voidsetReadUncommitted(boolean readUncommitted) +
      Configure read operations performed by the transaction to return modified + but not yet committed data.
      +
      voidsetSnapshot(boolean snapshot) +
      This transaction will execute with snapshot isolation.
      +
      voidsetSync(boolean sync) +
      Configure the transaction to write and synchronously flush the log + it when commits.
      +
      voidsetWait(boolean wait) +
      Configure the transaction to wait if a lock request cannot be + immediately granted.
      +
      voidsetWriteNoSync(boolean writeNoSync) +
      Configure the transaction to write but not synchronously flush the log + it when commits.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

    -DEFAULT

    -
    -public static final TransactionConfig DEFAULT
    -
    -
    Default configuration used if null is passed to methods that create a - transaction. -

    -

    -
    -
    - +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        DEFAULT

        +
        public static final TransactionConfig DEFAULT
        +
        Default configuration used if null is passed to methods that create a + transaction.
        +
      • +
      +
    • +
    - - - - - - -
    -Constructor Detail
    - -

    -TransactionConfig

    -
    -public TransactionConfig()
    -
    -
    An instance created using the default constructor is initialized - with the system's default settings. -

    -

    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TransactionConfig

        +
        public TransactionConfig()
        +
        An instance created using the default constructor is initialized + with the system's default settings.
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -setReadCommitted

    -
    -public void setReadCommitted(boolean readCommitted)
    -
    -
    Configure the transaction for read committed isolation. +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setReadCommitted

        +
        public void setReadCommitted(boolean readCommitted)
        +
        Configure the transaction for read committed isolation.

        This ensures the stability of the current data item read by the cursor but permits data read by this transaction to be modified or deleted prior to the commit of the transaction. -

        -

        -

        -
        -
        -
        -
        Parameters:
        readCommitted - If true, configure the transaction for read committed isolation.
        -
        -
    -
    - -

    -getReadCommitted

    -
    -public boolean getReadCommitted()
    -
    -
    Return if the transaction is configured for read committed isolation. -

    -

    -

    -
    -
    -
    - -
    Returns:
    If the transaction is configured for read committed isolation.
    -
    -
    -
    - -

    -setDegree2

    -
    -public void setDegree2(boolean degree2)
    -
    -
    Deprecated. This has been replaced by setReadCommitted(boolean) to conform to ANSI - database isolation terminology. -

    -

    Configure the transaction for read committed isolation. +

+
Parameters:
readCommitted - If true, configure the transaction for read committed isolation.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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