Package | Description |
---|---|
com.sleepycat.collections |
Data access based on the standard Java collections API.
|
com.sleepycat.db | |
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.
|
Modifier and Type | Method and Description |
---|---|
Environment |
CurrentTransaction.getEnvironment()
Returns the underlying Berkeley DB environment.
|
Modifier and Type | Method and Description |
---|---|
static CurrentTransaction |
CurrentTransaction.getInstance(Environment env)
Gets the CurrentTransaction accessor for a specified Berkeley DB
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.
|
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.
|
Environment[] |
Environment.getSlices()
Gets the Environment handles for the underlying slice environments.
|
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 msgpfx,
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Environment |
EntityStore.getEnvironment()
Returns the environment associated with this store.
|
Constructor and Description |
---|
EntityStore(Environment env,
java.lang.String storeName,
StoreConfig config)
Opens an entity store in a given environment.
|
Modifier and Type | Method and Description |
---|---|
Environment |
RawStore.getEnvironment()
Returns the environment associated with this store.
|
Constructor and Description |
---|
RawStore(Environment env,
java.lang.String storeName,
StoreConfig config)
Opens an entity store for raw data access.
|
Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.