Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.8.30
PREV NEXT | FRAMES NO FRAMES

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

Packages that use Environment
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
`Environment` | `CurrentTransaction.getEnvironment()` Returns the underlying Berkeley DB environment.

Methods in com.sleepycat.collections with parameters of type Environment
`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
`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
`Environment` | `DatabaseException.getEnvironment()` Return the environment in which the exception occurred.
`Environment` | `Database.getEnvironment()` Return the `Environment` handle for the database environment underlying the `Database`.

Methods in com.sleepycat.db with parameters of type Environment
`void` | `ErrorHandler.error(Environment environment, String errpfx, 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, 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.
`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
`DatabaseException(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
`Environment` | `EntityStore.getEnvironment()` Returns the environment associated with this store.

Constructors in com.sleepycat.persist with parameters of type Environment
`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
`Environment` | `RawStore.getEnvironment()` Returns the environment associated with this store.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.8.30
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996-2009 Oracle. All rights reserved.