Uses of Class com.sleepycat.db.Environment (Oracle - Berkeley DB Java API)
Date: 2015-03-04

## Uses of Class
com.sleepycat.db.Environment

- Packages that use Environment
  Package | Description
  --- | ---
  com.sleepycat.collections | Data access based on the standard Java collections API.
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].
  com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.
  com.sleepycat.persist.raw | Raw data access for general purpose tools and manual conversions.

- - ### Uses of Environment in com.sleepycat.collections

    Methods in com.sleepycat.collections that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | CurrentTransaction.`getEnvironment()` Returns the underlying Berkeley DB environment.

    Methods in com.sleepycat.collections with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `static CurrentTransaction` | CurrentTransaction.`getInstance(Environment env)` Gets the CurrentTransaction accessor for a specified Berkeley DB environment.

    Constructors in com.sleepycat.collections with parameters of type Environment
    Constructor and Description
    `TransactionRunner(Environment env)` Creates a transaction runner for a given Berkeley DB environment.
    `TransactionRunner(Environment env, int maxRetries, TransactionConfig config)` Creates a transaction runner for a given Berkeley DB environment and with a given number of maximum retries.

  - ### Uses of Environment in com.sleepycat.db

    Methods in com.sleepycat.db that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | Database.`getEnvironment()` Return the `Environment` handle for the database environment underlying the `Database`.
    `Environment` | DatabaseException.`getEnvironment()` Return the environment in which the exception occurred.

    Methods in com.sleepycat.db with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | ErrorHandler.`error(Environment environment, java.lang.String errpfx, java.lang.String msg)` A callback function to be called when an error occurs in the Berkeley DB library.
    `int` | LogRecordHandler.`handleLogRecord(Environment environment, DatabaseEntry logRecord, LogSequenceNumber lsn, RecoveryOperation operation)` A function to process application-specific log records.
    `void` | MessageHandler.`message(Environment environment, java.lang.String message)` A callback function to be called to display informational messages.
    `void` | PanicHandler.`panic(Environment environment, DatabaseException e)` A function to be called if the database environment panics.
    `boolean` | ReplicationViewHandler.`partial_view(Environment dbenv, java.lang.String name, int flags)` The application-specific function used by replication views to determine whether a database file is replicated.
    `void` | FeedbackHandler.`recoveryFeedback(Environment environment, int percent)` A function called with progress information when the database environment is being recovered.
    `int` | ReplicationTransport.`send(Environment environment, DatabaseEntry control, DatabaseEntry rec, LogSequenceNumber lsn, int envid, boolean noBuffer, boolean permanent, boolean anywhere, boolean isRetry)` The callback used when Berkeley DB needs to transmit a replication message.

    Constructors in com.sleepycat.db with parameters of type Environment
    Constructor and Description
    `DatabaseException(java.lang.String s, int errno, Environment dbenv)` Construct an exception with the specified message and error number associated with a database environment handle.

  - ### Uses of Environment in com.sleepycat.persist

    Methods in com.sleepycat.persist that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | EntityStore.`getEnvironment()` Returns the environment associated with this store.

    Constructors in com.sleepycat.persist with parameters of type Environment
    Constructor and Description
    `EntityStore(Environment env, java.lang.String storeName, StoreConfig config)` Opens an entity store in a given environment.

  - ### Uses of Environment in com.sleepycat.persist.raw

    Methods in com.sleepycat.persist.raw that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | RawStore.`getEnvironment()` Returns the environment associated with this store.

    Constructors in com.sleepycat.persist.raw with parameters of type Environment
    Constructor and Description
    `RawStore(Environment env, java.lang.String storeName, StoreConfig config)` Opens an entity store for raw data access.

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