| Package | Description |
|---|---|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| com.sleepycat.je.rep.elections |
INTERNAL: Elections of the master node among the nodes in a group.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.impl.networkRestore |
INTERNAL: Protocol for
network restore. |
| com.sleepycat.je.rep.impl.node |
INTERNAL: Feeder and Replica node implementations.
|
| com.sleepycat.je.rep.impl.node.cbvlsn |
INTERNAL: Eventual burial ground for Cleaner Barrier VLSN (CBVLSN) classes,
currently used only for compatibility with old version nodes in a mixed
version group.
|
| 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.stream |
INTERNAL: Feeding and syncup (init) of rep stream from master node to
other node types (replicas, etc).
|
| com.sleepycat.je.rep.txn |
INTERNAL: HA Txn/Locker subclasses for enforcing consistency and durability
constraints.
|
| 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.
|
| Constructor and Description |
|---|
StateChangeEvent(ReplicatedEnvironment.State state,
NameIdPair masterNameId) |
| Modifier and Type | Method and Description |
|---|---|
NameIdPair |
MasterValue.getNameId() |
NameIdPair |
ElectionsConfig.getNameIdPair()
Gets the nodes NameIdPair.
|
| Constructor and Description |
|---|
MasterValue(String masterHostname,
int masterPort,
NameIdPair masterNameIdPair) |
Proposer(Elections elections,
NameIdPair nameIdPair)
Initializes a proposer with the set of acceptors identified by the
sockets on which they accept proposals.
|
Protocol(Proposer.ProposalParser proposalParser,
Protocol.ValueParser valueParser,
String groupName,
NameIdPair nameIdPair,
RepImpl repImpl,
DataChannelFactory channelFactory)
Creates an instance of the Protocol.
|
RankingProposer(Elections elections,
NameIdPair nameIdPair) |
| Modifier and Type | Method and Description |
|---|---|
NameIdPair |
RepImpl.getNameIdPair() |
NameIdPair |
RepNodeImpl.getNameIdPair() |
NameIdPair |
RepGroupProtocol.EnsureOK.getNameIdPair() |
NameIdPair |
TextProtocol.getNameIdPair() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RepGroupDB.updateLocalCBVLSN(NameIdPair nameIdPair,
VLSN newCBVLSN,
NodeType nodeType)
This method is not used when the CBVLSN is defunct -- see GlobalCBVLSN.
|
| Constructor and Description |
|---|
BinaryNodeStateProtocol(NameIdPair nameIdPair,
RepImpl repImpl) |
EnsureOK(RepGroupProtocol.EnsureNode request,
NameIdPair nameIdPair) |
NodeStateProtocol(String groupName,
NameIdPair nameIdPair,
RepImpl repImpl,
DataChannelFactory channelFactory) |
RepGroupProtocol(String groupName,
NameIdPair nameIdPair,
RepImpl repImpl,
DataChannelFactory channelFactory)
Creates an instance of this class using the current protocol version.
|
RepNodeImpl(NameIdPair nameIdPair,
NodeType type,
boolean quorumAck,
boolean isRemoved,
String hostName,
int port,
CleanerBarrierState barrierState,
int changeVersion,
JEVersion jeVersion) |
RepNodeImpl(NameIdPair nameIdPair,
NodeType type,
boolean quorumAck,
boolean isRemoved,
String hostName,
int port,
int changeVersion,
JEVersion jeVersion) |
RepNodeImpl(NameIdPair nameIdPair,
NodeType type,
String hostName,
int port,
JEVersion jeVersion) |
TextProtocol(String version,
String groupName,
NameIdPair nameIdPair,
RepImpl repImpl,
DataChannelFactory channelFactory)
Creates an instance of the Protocol.
|
| Constructor and Description |
|---|
FeederManager(ServiceDispatcher serviceDispatcher,
EnvironmentImpl envImpl,
NameIdPair nameIdPair)
Creates a FeederManager but does not start it.
|
NetworkBackup(InetSocketAddress serverSocket,
File envDir,
NameIdPair clientNameId,
boolean retainLogfiles,
FileManager fileManager,
LogManager logManager,
DataChannelFactory channelFactory)
Convenience overloading.
|
NetworkBackup(InetSocketAddress serverSocket,
int receiveBufferSize,
File envDir,
NameIdPair clientNameId,
boolean retainLogfiles,
int serverLoadThreshold,
VLSN minVLSN,
RepImpl repImpl,
FileManager fileManager,
LogManager logManager,
DataChannelFactory channelFactory,
Properties exceptionProperties)
Creates a configured backup instance which when executed will backup the
files to the environment directory.
|
Protocol(NameIdPair nameIdPair,
int configuredVersion,
EnvironmentImpl envImpl) |
| Modifier and Type | Field and Description |
|---|---|
static NameIdPair |
NameIdPair.NOCHECK |
static NameIdPair |
NameIdPair.NULL |
| Modifier and Type | Method and Description |
|---|---|
static NameIdPair |
NameIdPair.deserialize(ByteBuffer buffer,
BinaryProtocol protocol)
Serializes from a ByteBuffer for a given protocol.
|
static NameIdPair |
NameIdPair.deserialize(TupleInput buffer)
Serializes from a TupleInput after retrieving from storage.
|
NameIdPair |
Replica.HardRecoveryElectionException.getMaster()
The master that needs to be verified with an election.
|
NameIdPair |
RepNode.getNameIdPair() |
NameIdPair |
Feeder.getReplicaNameIdPair() |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeState.changeAndNotify(ReplicatedEnvironment.State state,
NameIdPair masterNameId)
Change to a new node state and release any threads waiting for a state
transition.
|
FileProtector.ProtectedFileSet |
RepNode.syncupStarted(NameIdPair syncupNode)
Marks the start of the search for a matchpoint that happens during a
syncup.
|
void |
NameIdPair.update(NameIdPair other) |
void |
RepNode.updateGroupInfo(NameIdPair updateNameIdPair,
CleanerBarrierState barrierState)
Updates the cached group info for the node, avoiding a database read,
if the global CBVLSN is not defunct.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FeederManager.setDelayCBVLSNUpdateHook(TestHook<NameIdPair> hook)
Set a test hook, parameterized by feeder's Name/ID pair, that delays
CBVLSN updates if it throws an IllegalStateException.
|
| Constructor and Description |
|---|
HardRecoveryElectionException(NameIdPair masterNameIdPair,
VLSN lastTxnEnd,
VLSN matchpointVLSN) |
NodeState(NameIdPair nameIdPair,
RepImpl repImpl) |
Replay(RepImpl repImpl,
NameIdPair nameIdPair) |
RepNode(NameIdPair nameIdPair) |
RepNode(NameIdPair nameIdPair,
ServiceDispatcher serviceDispatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
GlobalCBVLSN.updateGroupInfo(NameIdPair updateNameIdPair,
CleanerBarrierState barrierState)
Updates the cached group info for the node, avoiding a database read,
if the global CBVLSN is not defunct.
|
| Constructor and Description |
|---|
LocalCBVLSNUpdater(NameIdPair nameIdPair,
NodeType trackedNodeType,
RepNode repNode) |
| Modifier and Type | Method and Description |
|---|---|
NameIdPair |
Monitor.getMonitorNameIdPair() |
| Constructor and Description |
|---|
Protocol(String groupName,
NameIdPair nameIdPair,
RepImpl repImpl,
DataChannelFactory channelFactory)
Creates an instance of this class using the current protocol version.
|
| Modifier and Type | Method and Description |
|---|---|
NameIdPair |
MasterStatus.getGroupMasterNameId() |
protected NameIdPair |
BaseProtocol.ProtocolVersion.getNameIdPair()
The nodeName of the sender
|
NameIdPair |
ReplicaFeederHandshakeConfig.getNameIdPair()
Gets the nodes NameIdPair.
|
NameIdPair |
Protocol.NodeGroupInfo.getNameIdPair() |
NameIdPair |
Protocol.NodeGroupInfoOK.getNameIdPair() |
NameIdPair |
MasterStatus.getNodeMasterNameId() |
NameIdPair |
FeederReplicaSyncup.NetworkRestoreException.getReplicaNameIdPair() |
NameIdPair |
FeederReplicaHandshake.getReplicaNameIdPair()
Returns the replica node ID.
|
| Modifier and Type | Method and Description |
|---|---|
static Protocol |
Protocol.get(RepImpl repImpl,
NameIdPair nameIdPair,
RepUtils.Clock clock,
int protocolVersion,
int maxProtocolVersion,
int groupFormatVersion) |
static Protocol |
Protocol.get(RepImpl repImpl,
NameIdPair nameIdPair,
RepUtils.Clock clock,
int protocolVersion,
int maxProtocolVersion,
int streamLogVersion,
int groupFormatVersion) |
void |
MasterStatus.setGroupMaster(String hostname,
int port,
NameIdPair newGroupMasterNameId) |
| Constructor and Description |
|---|
BaseProtocol(RepImpl repImpl,
NameIdPair nameIdPair,
int protocolVersion,
int maxProtocolVersion,
int streamLogVersion,
BinaryProtocol.MessageOp[] protocolOps)
Returns a BaseProtocol object configured that implements the specified
(supported) protocol version, with enforced message operation
code validity check.
|
MasterFeederSource(RepImpl envImpl,
VLSNIndex vlsnIndex,
NameIdPair replicaNameIdPair,
VLSN startVLSN) |
MasterStatus(NameIdPair nameIdPair) |
NetworkRestoreException(VLSN vlsn,
VLSN firstVLSN,
VLSN lastVLSN,
NameIdPair replicaNameIdPair) |
NodeGroupInfoOK(UUID uuid,
NameIdPair nameIdPair) |
| Modifier and Type | Method and Description |
|---|---|
static MasterTxn |
MasterTxn.create(EnvironmentImpl envImpl,
TransactionConfig config,
NameIdPair nameIdPair) |
MasterTxn |
MasterTxn.MasterTxnFactory.create(EnvironmentImpl envImpl,
TransactionConfig config,
NameIdPair nameIdPair) |
static MasterTxn |
MasterTxn.createNullTxn(EnvironmentImpl envImpl,
TransactionConfig config,
NameIdPair nameIdPair) |
MasterTxn |
MasterTxn.MasterTxnFactory.createNullTxn(EnvironmentImpl envImpl,
TransactionConfig config,
NameIdPair nameIdPair)
Create a special "null" txn that does not result in any changes to
the environment.
|
| Constructor and Description |
|---|
MasterTxn(EnvironmentImpl envImpl,
TransactionConfig config,
NameIdPair nameIdPair) |
| Constructor and Description |
|---|
Protocol(NameIdPair nameIdPair,
EnvironmentImpl envImpl) |
| Modifier and Type | Field and Description |
|---|---|
protected NameIdPair |
BinaryProtocol.nameIdPair |
| Modifier and Type | Method and Description |
|---|---|
NameIdPair |
NamedChannel.getNameIdPair() |
protected NameIdPair |
BinaryProtocol.SimpleMessage.getNameIdPair(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
NamedChannel.setNameIdPair(NameIdPair nameIdPair) |
| Constructor and Description |
|---|
BinaryProtocol(NameIdPair nameIdPair,
int codeVersion,
int configuredVersion,
EnvironmentImpl envImpl)
Returns a Protocol object configured that implements the specified
(supported) version.
|
NamedChannel(DataChannel channel,
NameIdPair nameIdPair) |
ReplicationFormatter(NameIdPair nameIdPair) |
| Constructor and Description |
|---|
VLSNIndex(EnvironmentImpl envImpl,
String mappingDbName,
NameIdPair nameIdPair,
int vlsnStride,
int vlsnMaxMappings,
int vlsnMaxDistance,
RecoveryInfo recoveryInfo)
The mapping db's name is passed in as a parameter instead of the more
intuitive approach of defining it within the class to facilitate unit
testing of the VLSNIndex.
|
Copyright © 2024. All rights reserved.