| Package | Description |
|---|---|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| Modifier and Type | Method | Description |
|---|---|---|
Durability.ReplicaAckPolicy |
Durability.getReplicaAck() |
Returns the replica acknowledgment policy used by the master when
committing changes to a replicated environment.
|
static Durability.ReplicaAckPolicy |
Durability.ReplicaAckPolicy.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Durability.ReplicaAckPolicy[] |
Durability.ReplicaAckPolicy.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor | Description |
|---|---|
Durability(Durability.SyncPolicy localSync,
Durability.SyncPolicy replicaSync,
Durability.ReplicaAckPolicy replicaAck) |
Creates an instance of a Durability specification.
|
| Modifier and Type | Method | Description |
|---|---|---|
Durability.ReplicaAckPolicy |
InsufficientReplicasException.getCommitPolicy() |
Returns the Replica ack policy that was in effect for the transaction.
|
| Constructor | Description |
|---|---|
InsufficientReplicasException(com.sleepycat.je.txn.Locker locker,
Durability.ReplicaAckPolicy ackPolicy,
int requiredAckCount,
java.util.Set<java.lang.String> availableReplicas) |
Creates a Commit exception.
|
Copyright (c) 2002, 2018 Oracle and/or its affiliates. All rights reserved.