| Package | Description |
|---|---|
| com.sleepycat.collections |
Data access based on the standard Java collections API.
|
| com.sleepycat.compat |
INTERNAL: BDB/JE compatibility layer for bind, collections, DPL packages.
|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| com.sleepycat.je.dbi |
INTERNAL: Underlying XxxImpl classes for Environment, Database and Cursor,
plus other misc classes (originally, dbi meant "db internal interface").
|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.util.ldiff |
INTERNAL: LDiff debugging utility for comparing databases on different
nodes in a group.
|
| com.sleepycat.je.rep.utilint |
INTERNAL: Command line and programmatic utilities.
|
| com.sleepycat.je.rep.vlsn |
INTERNAL: VLSN index (in-memory and persistent) for mapping VLSNs to LSNs.
|
| com.sleepycat.je.trigger |
NOT YET RELEASED: Triggers provide a mechanism for automatically executing one
or more application defined trigger methods whenever a certain type of
operation is performed.
|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| com.sleepycat.je.util |
Supporting utilities.
|
| com.sleepycat.je.utilint |
INTERNAL: Misc utility classes, including some stat classes.
|
| com.sleepycat.persist |
The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.
|
| com.sleepycat.persist.impl |
INTERNAL: Direct Persistence Layer (DPL) implementation.
|
| 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 |
|---|---|
static boolean |
DbCompat.databaseExists(Environment env,
String fileName,
String dbName) |
static ClassLoader |
DbCompat.getClassLoader(Environment env) |
static Object |
DbCompat.getErrorHandler(Environment env) |
static Transaction |
DbCompat.getThreadTransaction(Environment env) |
static boolean |
DbCompat.isReplicated(Environment env) |
static Database |
DbCompat.openDatabase(Environment env,
Transaction txn,
String fileName,
String dbName,
DatabaseConfig config)
Returns null if the database is not found (and AllowCreate is false) or
already exists (and ExclusiveCreate is true).
|
static SecondaryDatabase |
DbCompat.openSecondaryDatabase(Environment env,
Transaction txn,
String fileName,
String dbName,
Database primaryDatabase,
SecondaryConfig config)
Returns null if the database is not found (and AllowCreate is false) or
already exists (and ExclusiveCreate is true).
|
static boolean |
DbCompat.removeDatabase(Environment env,
Transaction txn,
String fileName,
String dbName)
Returns false if the database is not found.
|
static boolean |
DbCompat.renameDatabase(Environment env,
Transaction txn,
String oldFileName,
String oldDbName,
String newFileName,
String newDbName)
Returns false if the database is not found.
|
static void |
DbCompat.setErrorHandler(Environment env,
Object errHandler) |
static void |
DbCompat.suppressError(Environment env,
Pattern errPattern) |
static Database |
DbCompat.testOpenDatabase(Environment env,
Transaction txn,
String file,
String name,
DatabaseConfig config)
Fires an assertion if the database is not found (and AllowCreate is
false) or already exists (and ExclusiveCreate is true).
|
static SecondaryDatabase |
DbCompat.testOpenSecondaryDatabase(Environment env,
Transaction txn,
String file,
String name,
Database primary,
SecondaryConfig config)
Fires an assertion if the database is not found (and AllowCreate is
false) or already exists (and ExclusiveCreate is true).
|
static boolean |
DbCompat.truncateDatabase(Environment env,
Transaction txn,
String fileName,
String dbName)
Returns false if the database is not found.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XAEnvironment
An Environment that implements XAResource.
|
| Modifier and Type | Method and Description |
|---|---|
Environment |
Database.getEnvironment()
Returns the
Environment handle for
the database environment underlying the Database. |
static Environment |
DbInternal.getEnvironment(Transaction txn)
Proxy to Transaction.getEnvironment()
|
| Modifier and Type | Method and Description |
|---|---|
static Transaction |
DbInternal.beginInternalTransaction(Environment env,
TransactionConfig config) |
static EnvironmentImpl |
DbInternal.checkOpen(Environment env)
Proxy to Environment.checkOpen
|
static void |
DbInternal.clearEnvImpl(Environment env)
Proxy to Environment.clearEnvImpl
|
static void |
DbInternal.closeInternalHandle(Environment env)
Proxy to Environment.closeInternalHandle
|
static TransactionConfig |
DbInternal.getDefaultTxnConfig(Environment env)
Proxy to Environment.getDefaultTxnConfig()
|
static EnvironmentImpl |
DbInternal.getEnvironmentImpl(Environment env)
Proxy to Environment.getMaybeNullEnvImpl.
|
static EnvironmentImpl |
DbInternal.getNonNullEnvImpl(Environment env)
Proxy to Environment.getNonNullEnvImpl
This method is called to access the underlying EnvironmentImpl when an
env is expected to be open, to guard against NPE when the env has been
closed.
|
| Constructor and Description |
|---|
Transaction(Environment env,
Txn txn)
For internal use.
|
| Modifier and Type | Field and Description |
|---|---|
protected Environment |
EnvironmentImpl.envInternal |
| Modifier and Type | Method and Description |
|---|---|
protected Environment |
EnvironmentImpl.createInternalEnvironment()
Is overridden in RepImpl to create a ReplicatedEnvironment.
|
Environment |
EnvironmentImpl.getInternalEnvHandle() |
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentImpl.MBeanRegistrar.doRegister(Environment env) |
void |
EnvironmentImpl.registerMBean(Environment env)
JE MBean registration is performed during Environment creation so that
the MBean has access to the Environment API which is not available from
EnvironmentImpl.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReplicatedEnvironment
A replicated database environment that is a node in a replication
group.
|
| Modifier and Type | Method and Description |
|---|---|
protected Environment |
RepImpl.createInternalEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
static Environment |
LDiffUtil.openEnv(String envDir) |
| Modifier and Type | Method and Description |
|---|---|
static void |
LDiffUtil.close(Environment env,
Database db) |
boolean |
LDiff.diff(Environment env1,
Environment env2)
A mechanism for efficiently comparing all databases in two quiescent
environments.
|
boolean |
LDiff.diff(Environment env,
InetSocketAddress addr)
A mechanism for efficiently comparing two quiescent environments, one
local and one on a remote machine.
|
boolean |
LDiff.diff(Environment env,
InetSocketAddress addr,
DataChannelFactory dcFactory)
A mechanism for efficiently comparing two quiescent environments, one
local and one on a remote machine.
|
static Database |
LDiffUtil.openDb(Environment env,
String dbName) |
| Modifier and Type | Method and Description |
|---|---|
Environment |
DbCacheSizeRepEnv.open(File envHome,
EnvironmentConfig envConfig,
Map<String,String> repParams) |
| Modifier and Type | Method and Description |
|---|---|
static void |
VLSNIndex.verifyDb(Environment env,
PrintStream out,
boolean verbose)
For DbStreamVerify utility.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PersistentTrigger.open(Transaction txn,
Environment environment,
boolean isNew)
The trigger method invoked after the open of the first
Database
writable handle. |
| Modifier and Type | Method and Description |
|---|---|
static Locker |
LockerFactory.getWritableLocker(Environment env,
Transaction userTxn,
boolean isInternalDb,
boolean dbIsTransactional,
boolean autoTxnIsReplicated)
Get a locker for a write operation, checking whether the db and
environment is transactional or not.
|
static Locker |
LockerFactory.getWritableLocker(Environment env,
Transaction userTxn,
boolean isInternalDb,
boolean dbIsTransactional,
boolean autoTxnIsReplicated,
TransactionConfig autoCommitConfig)
Get a locker for a write operation.
|
| Modifier and Type | Field and Description |
|---|---|
protected Environment |
DbLoad.env |
protected Environment |
DbDump.env |
| Modifier and Type | Method and Description |
|---|---|
void |
DbLoad.setEnv(Environment env)
Sets the Environment to load from.
|
| 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)
Deprecated.
as of 7.5, use
verify(com.sleepycat.je.VerifyConfig, java.io.PrintStream) or
Database.verify(com.sleepycat.je.VerifyConfig) instead. These methods allow
specifying all VerifyConfig properties. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
Environment |
DbCacheSizeRepEnv.open(File envHome,
EnvironmentConfig envConfig,
Map<String,String> repParams) |
| Constructor and Description |
|---|
LogVerifier(Environment env,
String fileName)
Creates a log verifier.
|
| Modifier and Type | Method and Description |
|---|---|
Environment |
EntityStore.getEnvironment()
Returns the environment associated with this store.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
EntityStore.getStoreNames(Environment env)
Returns the names of all entity stores in the given environment.
|
| Constructor and Description |
|---|
EntityStore(Environment env,
String storeName,
StoreConfig config)
Opens an entity store in a given environment.
|
| Modifier and Type | Method and Description |
|---|---|
Environment |
Store.getEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
Store.getStoreNames(Environment env) |
| Constructor and Description |
|---|
PersistCatalog(Environment env,
String storePrefix,
String dbName,
DatabaseConfig dbConfig,
EntityModel modelParam,
Mutations mutationsParam,
boolean rawAccess,
Store store)
Creates a new catalog, opening the database and reading it from a given
catalog database if it already exists.
|
Store(Environment env,
String storeName,
StoreConfig config,
boolean rawAccess) |
| Modifier and Type | Method and Description |
|---|---|
Environment |
RawStore.getEnvironment()
Returns the environment associated with this store.
|
| Constructor and Description |
|---|
RawStore(Environment env,
String storeName,
StoreConfig config)
Opens an entity store for raw data access.
|
Copyright © 2024. All rights reserved.