Uses of Class com.sleepycat.je.Environment (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

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

- Packages that use Environment
  Package | Description
  --- | ---
  com.sleepycat.collections | Data access based on the standard Java collections API.
  com.sleepycat.je | Foundation for creating environments, databases and transactions; provides cursor based data access.
  com.sleepycat.je.jca.ra | Support for the Java Connector Architecture, which provides a standard for connecting the J2EE platform to legacy enterprise information systems (EIS), such as ERP systems, database systems, and legacy applications not written in Java.
  com.sleepycat.je.jmx | Implementations of JMX MBeans for JE.
  com.sleepycat.je.rep | Berkeley DB Java Edition High Availability (JE HA) enables replication of JE environments.
  com.sleepycat.je.util | Supporting utilities.
  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.je

    Subclasses of Environment in com.sleepycat.je
    Modifier and Type | Class and Description
    --- | ---
    `class` | `XAEnvironment` An Environment that implements XAResource.

    Methods in com.sleepycat.je that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | Database.`getEnvironment()` Returns the `Environment` handle for the database environment underlying the `Database`.

  - ### Uses of Environment in com.sleepycat.je.jca.ra

    Methods in com.sleepycat.je.jca.ra that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | JEConnection.`getEnvironment()`

  - ### Uses of Environment in com.sleepycat.je.jmx

    Fields in com.sleepycat.je.jmx declared as Environment
    Modifier and Type | Field and Description
    --- | ---
    `protected Environment` | JEMBean.`env`

    Methods in com.sleepycat.je.jmx that return Environment
    Modifier and Type | Method and Description
    --- | ---
    `Environment` | JEMBeanHelper.`getEnvironmentIfOpen()` Deprecated. Return an Environment only if the environment has already been opened in this process.

    Methods in com.sleepycat.je.jmx with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | JEMBean.`doRegister(Environment env)` For EnvironmentImpl.MBeanRegistrar interface.
    `protected void` | JEMonitor.`doRegisterMBean(Environment env)`
    `protected abstract void` | JEMBean.`doRegisterMBean(Environment env)`
    `protected void` | JEDiagnostics.`doRegisterMBean(Environment env)`
    `Object` | JEMBeanHelper.`getAttribute(Environment targetEnv, String attributeName)` Deprecated. Get an attribute value for the given environment.
    `List<MBeanAttributeInfo>` | JEMBeanHelper.`getAttributeList(Environment targetEnv)` Deprecated. Get MBean attribute metadata for this environment.
    `MBeanNotificationInfo[]` | JEMBeanHelper.`getNotificationInfo(Environment targetEnv)` Deprecated. No notifications are supported.
    `List<MBeanOperationInfo>` | JEMBeanHelper.`getOperationList(Environment targetEnv)` Deprecated. Get mbean operation metadata for this environment.
    `Object` | JEMBeanHelper.`invoke(Environment targetEnv, String actionName, Object[] params, String[] signature)` Deprecated. Invoke an operation for the given environment.
    `void` | JEMBeanHelper.`setAttribute(Environment targetEnv, Attribute attribute)` Deprecated. Set an attribute value for the given environment.

    Constructors in com.sleepycat.je.jmx with parameters of type Environment
    Constructor and Description
    `JEDiagnostics(Environment env)`
    `JEMBean(Environment env)`
    `JEMonitor(Environment env)`

  - ### Uses of Environment in com.sleepycat.je.rep

    Subclasses of Environment in com.sleepycat.je.rep
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ReplicatedEnvironment` A replicated database environment that is a node in a replication group.

  - ### Uses of Environment in com.sleepycat.je.util

    Fields in com.sleepycat.je.util declared as Environment
    Modifier and Type | Field and Description
    --- | ---
    `protected Environment` | DbLoad.`env`
    `protected Environment` | DbDump.`env`

    Methods in com.sleepycat.je.util with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `void` | DbLoad.`setEnv(Environment env)` Sets the Environment to load from.

    Constructors in com.sleepycat.je.util with parameters of type Environment
    Constructor and Description
    `DbBackup(Environment env)` Creates a DbBackup helper for a full backup.
    `DbBackup(Environment env, long lastFileInPrevBackup)` Creates a DbBackup helper for an incremental backup.
    `DbDump(Environment env, String dbName, PrintStream outputFile, boolean formatUsingPrintable)` Create a DbDump object for a specific environment and database.
    `DbDump(Environment env, String dbName, PrintStream outputFile, String outputDirectory, boolean formatUsingPrintable)` Deprecated. Please use the 4-arg ctor without outputDirectory instead.
    `DbScavenger(Environment env, String outputDirectory, boolean formatUsingPrintable, boolean doAggressiveScavengerRun, boolean verbose)` Create a DbScavenger object for a specific environment.
    `DbSpace(Environment env, boolean quiet, boolean details, boolean sorted)` Creates a DbSpace object for calculating utilization using an open Environment.
    `DbStat(Environment env, String dbName)`
    `DbVerify(Environment env, String dbName, boolean quiet)` Creates a DbVerify object for a specific environment and database.
    `DbVerifyLog(Environment env)` Creates a utility object for verifying the checksums in log files.
    `DbVerifyLog(Environment env, int readBufferSize)` Creates a utility object for verifying log files.
    `LogVerificationInputStream(Environment env, InputStream in, String fileName)` Creates a verification input stream.
    `LogVerificationReadableByteChannel(Environment env, ReadableByteChannel channel, String fileName)` Creates a verification input stream.

  - ### 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.

    Methods in com.sleepycat.persist with parameters of type Environment
    Modifier and Type | Method and Description
    --- | ---
    `static Set<String>` | EntityStore.`getStoreNames(Environment env)` Returns the names of all entity stores in the given environment.

    Constructors in com.sleepycat.persist with parameters of type Environment
    Constructor and Description
    `EntityStore(Environment env, 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, String storeName, StoreConfig config)` Opens an entity store for raw data access.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.