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/Environment.html | 4726 ++++++++++++++------------- 1 file changed, 2386 insertions(+), 2340 deletions(-) (limited to 'docs/java/com/sleepycat/db/Environment.html') diff --git a/docs/java/com/sleepycat/db/Environment.html b/docs/java/com/sleepycat/db/Environment.html index 63b8cbd8..444182ca 100644 --- a/docs/java/com/sleepycat/db/Environment.html +++ b/docs/java/com/sleepycat/db/Environment.html @@ -1,107 +1,105 @@ - - - - - -Environment (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Class Environment

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

-A database environment. Environments include support for some or +

+
com.sleepycat.db
+

Class Environment

+
+
+ +
+
    +
  • +
    +
    +
    public class Environment
    +extends java.lang.Object
    +
    A database environment. Environments include support for some or all of caching, locking, logging and transactions.

    To open an existing environment with default attributes the application @@ -132,7 +130,7 @@ customize the configuration class. For example: Environment newlyCreatedEnv = new Environment(home, envConfig);

    -Environment handles are free-threaded unless EnvironmentConfig.setThreaded is called to disable this before the environment is opened. +Environment handles are free-threaded unless EnvironmentConfig.setThreaded is called to disable this before the environment is opened.

    An environment handle is an Environment instance. More than one Environment instance may be created for the same physical directory, @@ -141,786 +139,749 @@ be open at one time for a given environment.

    The Environment handle should not be closed while any other handle remains open that is using it as a reference (for example, -Database or Transaction. Once Environment.close +Database or Transaction. Once Environment.close is called, this object may not be accessed again, regardless of -whether or not it throws an exception. -

    - -

    -


    - -

    +whether or not it throws an exception.

    +
  • +
+
+
+ + + +
+
+
    +
  • - - - - - - -
    -Field Detail
    - -

    -EID_MASTER

    -
    -public static final int EID_MASTER
    -
    -
    A special identifier for eid in - Environment.openChannel - to create channel to send messages only to the master site. -

    -

    -
    See Also:
    Constant Field Values
    -
    - + - - - - - - -
    -Constructor Detail
    - -

    -Environment

    -
    -public Environment(File home,
    -                   EnvironmentConfig config)
    -            throws DatabaseException,
    -                   FileNotFoundException
    -
    -
    Create a database environment handle. -

    -

    -

    -
    Parameters:
    home - The database environment's home directory. +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Environment

        +
        public Environment(java.io.File home,
        +           EnvironmentConfig config)
        +            throws DatabaseException,
        +                   java.io.FileNotFoundException
        +
        Create a database environment handle. +

        +
        Parameters:
        home - The database environment's home directory. The environment variable DB_HOME may be used as the path of the database home. For more information on envHome and filename resolution in general, see File Naming. -

        config - The database environment attributes. If null, default attributes are used. -

        -

        -

        Throws: -
        IllegalArgumentException - if an invalid parameter was specified. -

        -

        -

        DatabaseException - if a failure occurs. -
        FileNotFoundException
        -
    - +

    config - The database environment attributes. If null, default attributes are used. +

    +

    +
    Throws:
    +
    java.lang.IllegalArgumentException - if an invalid parameter was specified. +

    +

    +
    DatabaseException - if a failure occurs.
    +
    java.io.FileNotFoundException
    +
  • +
+ + - - - - - - -
-Method Detail
- -

-close

-
-public void close()
-           throws DatabaseException
-
-
Close the database environment, freeing any allocated resources and +
    +
  • + + +

    Method Detail

    + + + +
      +
    • +

      close

      +
      public void close()
      +           throws DatabaseException
      +
      Close the database environment, freeing any allocated resources and closing any underlying subsystems.

      When you call this method, all open database and cursor handles are closed automatically, and should not be reused.

      - The Environment handle should not be closed while any other + The Environment handle should not be closed while any other handle that refers to it is not yet closed; for example, database environment handles must not be closed while transactions in the environment have not yet been committed or aborted. Specifically, this includes -Transaction, and LogCursor +Transaction, and LogCursor handles.

      In multiple threads of control, each thread of control opens a database environment and the database handles within it. When you close each database handle using this method, by default, the database is not synchronized. To synchronize all open databases ensure that the last environment @@ -950,49 +911,77 @@ public void close() method.

      After this method has been called, regardless of its return, the - Environment handle may not be accessed again. -

      -

      -

      -

      - -
      Throws: -
      DatabaseException - if a failure occurs.
      -
      -
-
- -

-closeForceSync

-
-public void closeForceSync()
-                    throws DatabaseException
-
-
Close the database environment, freeing any allocated resources and + Environment handle may not be accessed again. +

+

+
Throws:
+
DatabaseException - if a failure occurs.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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