new ReplicaAckPolicy()
A replicated environment makes it possible to increase the application's
transaction commit guarantees by committing changes to its replicas on the
network. ReplicaAckPolicy defines the policy for how such network commits
are handled.
Properties:
Name | Type | Description |
---|---|---|
ALL |
Number | All replicas must acknowledge that they have committed the transaction. |
NONE |
Number | No transaction commit acknowledgments are required and the master will never wait for replica acknowledgments. |
SIMPLE_MAJORITY |
Number | A simple majority of replicas must acknowledge that they have committed the transaction. |