| Package | Description |
|---|---|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Durability.SyncPolicy |
Durability.getLocalSync()
Returns the transaction synchronization policy to be used locally when
committing a transaction.
|
Durability.SyncPolicy |
Durability.getReplicaSync()
Returns the transaction synchronization policy to be used by the replica
as it replays a transaction that needs an acknowledgment.
|
static Durability.SyncPolicy |
Durability.SyncPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Durability.SyncPolicy[] |
Durability.SyncPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Durability(Durability.SyncPolicy localSync,
Durability.SyncPolicy replicaSync,
Durability.ReplicaAckPolicy replicaAck)
Creates an instance of a Durability specification.
|
| Modifier and Type | Method and Description |
|---|---|
Durability.SyncPolicy |
BaseProtocol.Commit.getReplicaSyncPolicy() |
| Constructor and Description |
|---|
Commit(boolean needsAck,
Durability.SyncPolicy replicaSyncPolicy,
OutputWireRecord wireRecord) |
| Modifier and Type | Method and Description |
|---|---|
long |
ReplayTxn.commit(Durability.SyncPolicy syncPolicy,
ReplicationContext clientRepContext,
int commitMasterNodeId,
long commitDTVLSN)
Commits the txn being replayed.
|
Copyright © 2024. All rights reserved.