Uses of Interface com.sleepycat.je.ReplicaConsistencyPolicy (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

## Uses of Interface
com.sleepycat.je.ReplicaConsistencyPolicy

- Packages that use ReplicaConsistencyPolicy
  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.

- - ### Uses of ReplicaConsistencyPolicy in com.sleepycat.je

    Methods in com.sleepycat.je that return ReplicaConsistencyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `ReplicaConsistencyPolicy` | TransactionConfig.`getConsistencyPolicy()` Returns the consistency policy associated with the configuration.

    Methods in com.sleepycat.je with parameters of type ReplicaConsistencyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `TransactionConfig` | TransactionConfig.`setConsistencyPolicy(ReplicaConsistencyPolicy consistencyPolicy)` Associates a consistency policy with this configuration.

  - ### Uses of ReplicaConsistencyPolicy in com.sleepycat.je.rep

    Classes in com.sleepycat.je.rep that implement ReplicaConsistencyPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CommitPointConsistencyPolicy` A consistency policy which ensures that the environment on a Replica node is at least as current as denoted by the specified `CommitToken`.
    `class` | `NoConsistencyRequiredPolicy` A consistency policy that lets a transaction on a replica using this policy proceed regardless of the state of the Replica relative to the Master.
    `class` | `TimeConsistencyPolicy` A consistency policy which describes the amount of time the Replica is allowed to lag the Master.

    Methods in com.sleepycat.je.rep that return ReplicaConsistencyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `ReplicaConsistencyPolicy` | ReplicaConsistencyException.`getConsistencyPolicy()` Returns the Replica consistency policy that could not be satisfied.
    `ReplicaConsistencyPolicy` | ReplicationConfig.`getConsistencyPolicy()` Returns the default consistency policy associated with the configuration.

    Methods in com.sleepycat.je.rep with parameters of type ReplicaConsistencyPolicy
    Modifier and Type | Method and Description
    --- | ---
    `ReplicationConfig` | ReplicationConfig.`setConsistencyPolicy(ReplicaConsistencyPolicy policy)` Sets the consistency policy to be associated with the configuration.

    Constructors in com.sleepycat.je.rep with parameters of type ReplicaConsistencyPolicy
    Constructor and Description
    `ReplicaConsistencyException(String message, ReplicaConsistencyPolicy consistencyPolicy)`
    `ReplicatedEnvironment(File envHome, ReplicationConfig repConfig, EnvironmentConfig envConfig, ReplicaConsistencyPolicy consistencyPolicy, QuorumPolicy initialElectionPolicy)` Creates a replicated environment handle and starts participating in the replication group as either a Master or a Replica.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.