| Package | Description |
|---|---|
| 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.monitor |
BDB JE HA support for applications that need to track the composition of a
replication group, in order to do tasks such as load balancing and
request routing.
|
| com.sleepycat.je.rep.util |
BDB JE High Availability command line utilities and helper classes.
|
| com.sleepycat.je.util.verify |
INTERNAL: Scheduled data verifier and Btree verification.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EnvironmentLockedException
Thrown by the
Environment constructor when an environment cannot be
opened for write access because another process has the same environment
open for write access. |
class |
EnvironmentNotFoundException
Thrown by the
Environment constructor when EnvironmentConfig
AllowCreate property is false (environment creation is not permitted), but
there are no log files in the environment directory. |
class |
EnvironmentWedgedException
Thrown by the
Environment.close() when the current process must be
shut down and restarted before re-opening the Environment. |
class |
LogWriteException
Thrown when an
IOException or other failure occurs when writing to
the JE log. |
class |
ThreadInterruptedException
Thrown when
java.lang.InterruptedException (a thread interrupt) or
java.nio.channels.ClosedChannelException (which also results from a
thread interrupt) occurs in any JE method. |
class |
VersionMismatchException
Thrown by the Environment constructor when an environment cannot be
opened because the version of the existing log is not compatible with the
version of JE that is running.
|
| Modifier and Type | Method and Description |
|---|---|
EnvironmentFailureException |
Environment.getInvalidatingException()
Returns the exception that caused the environment to be invalidated, or
null if the environment was not invalidated by an exception.
|
static EnvironmentFailureException |
EnvironmentFailureException.makeJavaErrorWrapper()
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.promote(EnvironmentImpl envImpl,
EnvironmentFailureReason reason,
String message,
Throwable cause)
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedException(EnvironmentImpl envImpl,
Exception cause)
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedException(EnvironmentImpl envImpl,
String message,
Exception cause)
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedException(Exception cause)
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedException(String message,
Exception cause)
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedState()
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedState(EnvironmentImpl envImpl)
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedState(EnvironmentImpl envImpl,
String message)
For internal use only.
|
static EnvironmentFailureException |
EnvironmentFailureException.unexpectedState(String message)
For internal use only.
|
EnvironmentFailureException |
LogWriteException.wrapSelf(String msg)
For internal use only.
|
EnvironmentFailureException |
VersionMismatchException.wrapSelf(String msg)
For internal use only.
|
EnvironmentFailureException |
EnvironmentFailureException.wrapSelf(String msg)
For internal use only.
|
EnvironmentFailureException |
ThreadInterruptedException.wrapSelf(String msg)
For internal use only.
|
EnvironmentFailureException |
EnvironmentNotFoundException.wrapSelf(String msg)
For internal use only.
|
EnvironmentFailureException |
EnvironmentLockedException.wrapSelf(String msg)
For internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
long |
Transaction.getLockTimeout(TimeUnit unit)
Returns the lock request timeout value for the transaction.
|
long |
Transaction.getTxnTimeout(TimeUnit unit)
Returns the timeout value for the transaction lifetime.
|
| Constructor and Description |
|---|
EnvironmentFailureException(String message,
EnvironmentFailureException cause)
For internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
EnvironmentFailureException |
EnvironmentImpl.getInvalidatingException() |
| Modifier and Type | Method and Description |
|---|---|
AtomicReference<EnvironmentFailureException> |
EnvironmentImpl.getInvalidatingExceptionReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentImpl.invalidate(EnvironmentFailureException e)
Invalidate the environment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentImpl.checkIfInvalid() |
| Modifier and Type | Class and Description |
|---|---|
class |
GroupShutdownException
Thrown when an attempt is made to access an environment that was
shutdown by the Master as a result of a call to
ReplicatedEnvironment.shutdownGroup(long, TimeUnit). |
class |
InsufficientLogException
This exception indicates that the log files constituting the Environment are
insufficient and cannot be used as the basis for continuing with the
replication stream provided by the current master.
|
class |
MasterReplicaTransitionException
Deprecated.
as of JE 5.0.88 because the environment no longer needs to
restart when transitioning from master to replica.
|
class |
RestartRequiredException
RestartRequiredException serves as the base class for all exceptions which
makes it impossible for HA to proceed without some form of corrective action
on the part of the user, followed by a restart of the application.
|
class |
RollbackException
This asynchronous exception indicates that a new master has been selected,
this
Replica's log is ahead of the current Master,
and in this case, the Replica was unable to rollback without a
recovery. |
class |
RollbackProhibitedException
This exception may be thrown by a Replica during the
replication stream sync-up phase of startup.
|
| Modifier and Type | Method and Description |
|---|---|
EnvironmentFailureException |
InsufficientLogException.wrapSelf(String msg)
For internal use only.
|
EnvironmentFailureException |
MasterReplicaTransitionException.wrapSelf(String msg)
Deprecated.
|
abstract EnvironmentFailureException |
RestartRequiredException.wrapSelf(String msg)
For internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NetworkRestore.execute(InsufficientLogException logException,
NetworkRestoreConfig config)
Restores the log files from one of the members of the replication group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepImpl.invalidate(EnvironmentFailureException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepImpl.postLogCommitHook(MasterTxn txn,
LogItem commitItem)
It ensures that the feeder obtains the requisite number of
acknowledgments required for a successful commit.
|
void |
RepImpl.preLogAbortHook(MasterTxn txn)
Invoked before aborting a MasterTxn, this happens when the master is
going to be a replica because of mastership transfer.
|
void |
RepImpl.preLogCommitHook(MasterTxn txn)
This hook is used primarily to perform the final checks before allowing
the commit operation to proceed.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicationNode |
Monitor.register()
Registers the monitor with the group so that it can be kept informed
of the outcome of elections and group membership changes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReplicationGroupAdmin.deleteMember(String nodeName) |
ReplicationNode |
ReplicationGroupAdmin.ensureMonitor(RepNodeImpl monitor) |
ReplicationGroup |
ReplicationGroupAdmin.getGroup()
Returns the current composition of the group from the Master.
|
String |
ReplicationGroupAdmin.getMasterNodeName()
Returns the node name associated with the master
|
void |
ReplicationGroupAdmin.removeMember(String nodeName)
Removes this node from the group, so that it is no longer a member of
the group.
|
void |
ReplicationGroupAdmin.updateAddress(String nodeName,
String newHostName,
int newPort)
Update the network address for a specified member of the replication
group.
|
| Modifier and Type | Method and Description |
|---|---|
static EnvironmentFailureException |
VerifierUtils.createMarkerFileFromException(RestoreRequired.FailureType failureType,
Throwable origException,
EnvironmentImpl envImpl,
EnvironmentFailureReason reason)
Create the restore marker file from Exception origException and return
an EFE that can be thrown by the caller.
|
Copyright © 2024. All rights reserved.