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. --- .../sleepycat/collections/CurrentTransaction.html | 687 ++++++++++----------- 1 file changed, 334 insertions(+), 353 deletions(-) (limited to 'docs/java/com/sleepycat/collections/CurrentTransaction.html') diff --git a/docs/java/com/sleepycat/collections/CurrentTransaction.html b/docs/java/com/sleepycat/collections/CurrentTransaction.html index 73490d9e..b0d970d7 100644 --- a/docs/java/com/sleepycat/collections/CurrentTransaction.html +++ b/docs/java/com/sleepycat/collections/CurrentTransaction.html @@ -1,381 +1,362 @@ - - - - - -CurrentTransaction (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.collections -
-Class CurrentTransaction

-
-java.lang.Object
-  extended by com.sleepycat.collections.CurrentTransaction
-
-
-
-
public class CurrentTransaction
extends Object
- - -

-Provides access to the current transaction for the current thread within the +

+
com.sleepycat.collections
+

Class CurrentTransaction

+
+
+ +
+
    +
  • +
    +
    +
    public class CurrentTransaction
    +extends java.lang.Object
    +
    Provides access to the current transaction for the current thread within the context of a Berkeley DB environment. This class provides explicit - transaction control beyond that provided by the TransactionRunner + transaction control beyond that provided by the TransactionRunner class. However, both methods of transaction control manage per-thread - transactions. -

    - -

    -


    - -

    - + transactions.

    +
  • +
+
+
+
    +
  • - - - - - - - - - + + + + + + + + + + + + + +
    -Method Summary
    - TransactionabortTransaction() - -
    -          Aborts the transaction that is active for the current thread for this +
    EnvironmentgetEnvironment() +
    Returns the underlying Berkeley DB environment.
    +
    static CurrentTransactiongetInstance(Environment env) +
    Gets the CurrentTransaction accessor for a specified Berkeley DB + environment.
    +
    TransactiongetTransaction() +
    Returns the transaction associated with the current thread for this + environment, or null if no transaction is active.
    +
    +
      +
    • + + +

      Methods inherited from class java.lang.Object

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

    -getInstance

    -
    -public static CurrentTransaction getInstance(Environment env)
    -
    -
    Gets the CurrentTransaction accessor for a specified Berkeley DB +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInstance

        +
        public static CurrentTransaction getInstance(Environment env)
        +
        Gets the CurrentTransaction accessor for a specified Berkeley DB environment. This method always returns the same reference when called - more than once with the same environment parameter. -

        -

        -
        Parameters:
        env - is an open Berkeley DB environment. -
        Returns:
        the CurrentTransaction accessor for the given environment, or - null if the environment is not transactional.
        -
        -
    -
    - -

    -getEnvironment

    -
    -public final Environment getEnvironment()
    -
    -
    Returns the underlying Berkeley DB environment. -

    -

    -
    -
    -
    -
    - -

    -getTransaction

    -
    -public final Transaction getTransaction()
    -
    -
    Returns the transaction associated with the current thread for this - environment, or null if no transaction is active. -

    -

    -
    -
    -
    -
    - -

    -beginTransaction

    -
    -public final Transaction beginTransaction(TransactionConfig config)
    -                                   throws DatabaseException
    -
    -
    Begins a new transaction for this environment and associates it with + more than once with the same environment parameter.
+
Parameters:
env - is an open Berkeley DB environment.
+
Returns:
the CurrentTransaction accessor for the given environment, or + null if the environment is not transactional.
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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