Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.3.29
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].

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
`int` | `ReplicationTransport.send(Environment environment, DatabaseEntry control, DatabaseEntry rec, LogSequenceNumber lsn, int envid, boolean noBuffer, boolean permanent)` The callback used when Berkeley DB needs to transmit a replication message.
`void` | `PanicHandler.panic(Environment environment, DatabaseException e)` A function to be called if the database environment panics.
`void` | `MessageHandler.message(Environment environment, String message)` A callback function to be called to display informational messages.
`int` | `LogRecordHandler.handleLogRecord(Environment environment, DatabaseEntry logRecord, LogSequenceNumber lsn, RecoveryOperation operation)`
`void` | `FeedbackHandler.recoveryFeedback(Environment environment, int percent)` A function called with progress information when the database environment is being recovered.
`void` | `ErrorHandler.error(Environment environment, String errpfx, String msg)` A callback function to be called when an error occurs in the Berkeley DB library.

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

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.