| Package | Description |
|---|---|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.impl.node |
INTERNAL: Feeder and Replica node implementations.
|
| 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.util |
BDB JE High Availability command line utilities and helper classes.
|
| Modifier and Type | Method and Description |
|---|---|
static RepNodeImpl |
RepGroupImpl.deserializeNode(byte[] bytes,
int formatVersion)
Deserialize the mode from its byte representation.
|
RepNodeImpl |
RepGroupDB.NodeBinding.entryToObject(TupleInput input) |
RepNodeImpl |
RepGroupImpl.getMember(InetSocketAddress socket)
Gets the node that is currently a member of the group that has the given
socket address.
|
RepNodeImpl |
RepGroupImpl.getMember(int nodeId)
Returns the node with the specified ID that is currently a member of the
group, throwing an exception if the node is found but is no longer a
member.
|
RepNodeImpl |
RepGroupImpl.getMember(String name)
Returns the node with the specified name that is currently a member of
the group, throwing an exception if the node is found but is no longer a
member.
|
RepNodeImpl |
RepGroupProtocol.EnsureNode.getNode() |
RepNodeImpl |
RepGroupImpl.getNode(int nodeId)
Returns the node with the specified ID, regardless of its membership
state.
|
RepNodeImpl |
RepGroupImpl.getNode(String name)
Returns the node with the specified name, regardless of its membership
state.
|
static RepNodeImpl |
RepGroupImpl.hexDeserializeNode(String hex,
int formatVersion)
Deserializes the object serialized by
RepGroupImpl.serializeHex(int) |
RepNodeImpl |
RepGroupImpl.removeMember(String nodeName,
boolean delete)
Removes a member transiently from the rep group by marking it as removed
and optionally deleting it from the by-name and by-ID maps.
|
| Modifier and Type | Method and Description |
|---|---|
Set<RepNodeImpl> |
RepGroupImpl.getAllElectableMembers()
Returns all electable nodes that are currently members of the group.
|
Set<RepNodeImpl> |
RepGroupImpl.getAllLearnerMembers()
Returns all the nodes that are currently members of the group that act
as distinguished learners to receive election results.
|
Set<RepNodeImpl> |
RepGroupImpl.getAllMembers(com.sleepycat.je.rep.impl.RepGroupImpl.Predicate p)
Returns all nodes that are currently members of the group.
|
Set<RepNodeImpl> |
RepGroupImpl.getArbiterMembers()
Returns the arbiter nodes that are currently members of the group.
|
Set<RepNodeImpl> |
RepGroupImpl.getDataMembers()
Returns the nodes that are currently members of the group that store
replication data.
|
Set<RepNodeImpl> |
RepGroupImpl.getElectableMembers()
Returns electable nodes that are currently members of the group.
|
Set<RepNodeImpl> |
RepGroupImpl.getExternalMembers()
Returns the external nodes that are currently members of the group.
|
Set<RepNodeImpl> |
RepGroupImpl.getMonitorMembers()
Returns the monitor nodes that are currently members of the group.
|
Set<RepNodeImpl> |
RepGroupImpl.getRemovedNodes()
Returns nodes that are removed from the group.
|
Set<RepNodeImpl> |
RepGroupImpl.getSecondaryMembers()
Returns the secondary nodes that are currently members of the group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepGroupImpl.addTransientIdNode(RepNodeImpl node)
Add a node with transient id.
|
void |
RepGroupImpl.checkForConflicts(RepNodeImpl node)
Checks for whether a new or changed node definition is in conflict with
other members of the group.
|
boolean |
RepNodeImpl.equivalent(RepNodeImpl mi)
Checks if the argument represents the same node, ignoring fields that
might legitimately vary over time.
|
void |
RepGroupDB.NodeBinding.objectToEntry(RepNodeImpl mi,
TupleOutput output) |
void |
RepGroupDB.removeMember(RepNodeImpl removeNode,
boolean delete)
Removes a node from the replication group by marking the node's entry in
the rep group db as removed, and optionally deleting the entry.
|
void |
RepGroupImpl.removeTransientNode(RepNodeImpl node)
Remove a node with transient id, which should have an assigned ID
|
static byte[] |
RepGroupImpl.serializeBytes(RepNodeImpl node,
int formatVersion)
Serialize the node into its byte representation.
|
static String |
RepGroupImpl.serializeHex(RepNodeImpl node,
int formatVersion)
Returns the serialized form of the node as a sequence of hex characters
suitable for use by the text based protocols.
|
static boolean |
RepGroupDB.NodeBinding.supportsObjectToEntry(RepNodeImpl node,
int groupFormatVersion)
Returns whether the node can be serialized using the specified group
format version.
|
void |
RepGroupDB.updateMember(RepNodeImpl node,
boolean quorumAck) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepGroupImpl.includeAllMembers(com.sleepycat.je.rep.impl.RepGroupImpl.Predicate p,
Set<? super RepNodeImpl> set)
Adds all nodes that are currently members of the group to the specified
set.
|
void |
RepGroupImpl.includeArbiterMembers(Set<? super RepNodeImpl> set)
Adds the arbiter nodes that are currently members of the group to the
specified set.
|
void |
RepGroupImpl.includeDataMembers(Set<? super RepNodeImpl> set)
Adds the nodes that are currently members of the group that store
replication data to the specified set.
|
void |
RepGroupImpl.includeElectableMembers(Set<? super RepNodeImpl> set)
Adds the electable nodes that are currently members of the group to the
specified set.
|
void |
RepGroupImpl.includeExternalMembers(Set<? super RepNodeImpl> set)
Adds the external nodes.
|
void |
RepGroupImpl.includeMembers(com.sleepycat.je.rep.impl.RepGroupImpl.Predicate p,
Set<? super RepNodeImpl> set)
Adds nodes that are currently members of the group to the specified set.
|
void |
RepGroupImpl.includeMonitorMembers(Set<? super RepNodeImpl> set)
Adds the monitor nodes that are currently members of the group to the
specified set.
|
void |
RepGroupImpl.includeSecondaryMembers(Set<? super RepNodeImpl> set)
Adds the secondary nodes that are currently members of the group to the
specified set.
|
void |
RepGroupImpl.setNodes(Map<Integer,RepNodeImpl> nodes)
Sets the nodes associated with the Rep group.
|
| Constructor and Description |
|---|
EnsureNode(RepNodeImpl node) |
| Modifier and Type | Method and Description |
|---|---|
RepNodeImpl[] |
RepNode.getLogProviders()
Returns an array of nodes suitable for feeding log files for a network
restore.
|
RepNodeImpl |
Feeder.getReplicaNode()
Returns a RepNodeImpl that describes the replica, or
null if the
value is not yet known. |
| Modifier and Type | Method and Description |
|---|---|
void |
RepNode.addTransientIdNode(RepNodeImpl node)
Adds a transient ID node to the group.
|
void |
RepNode.removeTransientNode(RepNodeImpl node)
Removes a node with transient id from the group.
|
boolean |
DurabilityQuorum.replicaAcksQualify(RepNodeImpl replica)
Determine whether acknowledgments from the specified replica should be
counted against transaction durability requirements.
|
void |
FeederManager.shutdownFeeder(RepNodeImpl node)
Shuts down a specific feeder.
|
| Modifier and Type | Method and Description |
|---|---|
RepNodeImpl |
FeederReplicaHandshake.getReplicaNode()
Returns a RepNodeImpl that represents the replica for a successful
handshake.
|
| Modifier and Type | Method and Description |
|---|---|
FeederTxns.TxnInfo |
FeederTxns.noteReplicaAck(RepNodeImpl replica,
long txnId)
Notes that an acknowledgment was received from a replica.
|
| Constructor and Description |
|---|
RestoreResponse(VLSN cbvlsn,
RepNodeImpl[] logProviders) |
| Modifier and Type | Method and Description |
|---|---|
ReplicationNode |
ReplicationGroupAdmin.ensureMonitor(RepNodeImpl monitor) |
Copyright © 2024. All rights reserved.