|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.Durability
public class Durability
| Nested Class Summary | |
|---|---|
static class |
Durability.ReplicaAckPolicy
A replicated environment makes it possible to increase an application's transaction commit guarantees by committing changes to its replicas on the network. |
static class |
Durability.SyncPolicy
Defines the synchronization policy to be used when committing a transaction. |
| Constructor Summary | |
|---|---|
Durability(Durability.SyncPolicy localSync,
Durability.SyncPolicy replicaSync,
Durability.ReplicaAckPolicy replicaAck)
Creates an instance of a Durability specification. |
|
| Method Summary | |
|---|---|
Durability.SyncPolicy |
getLocalSync()
Returns the transaction synchronization policy to be used locally when committing a transaction. |
Durability.ReplicaAckPolicy |
getReplicaAck()
Returns the replica acknowledgment policy used by the master when committing changes to a replicated environment. |
Durability.SyncPolicy |
getReplicaSync()
Returns the transaction synchronization policy to be used by the replica as it replays a transaction that needs an acknowledgment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Durability(Durability.SyncPolicy localSync,
Durability.SyncPolicy replicaSync,
Durability.ReplicaAckPolicy replicaAck)
localSync - the SyncPolicy to be used when committing the
transaction locally.replicaSync - the SyncPolicy to be used remotely, as part of a
transaction acknowledgment, at a Replica node.replicaAck - the acknowledgment policy used when obtaining
transaction acknowledgments from Replicas.| Method Detail |
|---|
public Durability.SyncPolicy getLocalSync()
public Durability.SyncPolicy getReplicaSync()
public Durability.ReplicaAckPolicy getReplicaAck()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||