# Uses of Enum
oracle.nosql.driver.Durability.SyncPolicy

Packages that use Durability.SyncPolicy
Package
Description
oracle.nosql.driver
Contains the public API for using the Oracle NoSQL Database as well as configuration and common parameter classes used in database operations.

- ## Uses of Durability.SyncPolicy in oracle.nosql.driver

  Methods in oracle.nosql.driver that return Durability.SyncPolicy
  Modifier and Type
  Method
  Description
  `Durability.SyncPolicy`
  Durability.`getMasterSync()`
  Returns the transaction synchronization policy to be used on the Master 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.
  Constructors in oracle.nosql.driver with parameters of type Durability.SyncPolicy
  Modifier
  Constructor
  Description
  ``
  `Durability(Durability.SyncPolicy masterSync, Durability.SyncPolicy replicaSync, Durability.ReplicaAckPolicy replicaAck)`
  Creates an instance of a Durability specification.