com.sleepycat.je.rep.utilint
Interface RepUtils.ConsistencyPolicyFormat<T extends ReplicaConsistencyPolicy>
- Enclosing class:
- RepUtils
public static interface RepUtils.ConsistencyPolicyFormat<T extends ReplicaConsistencyPolicy>
ReplicaConsistencyPolicy must be stored as a String for use with
ReplicationConfig and je.properties. ConsistencyPolicyFormat is an
internal handler that formats and parses the string representation of
the policy. Only a fixed number of string-representable policies are
supported. Other policies that are not string-representable can only be
used in TransactionConfig, not ReplicationConfig. For testing only, we
allow defining new custom policies.
policyToString
String policyToString(T policy)
stringToPolicy
T stringToPolicy(String string)
Copyright (c) 2004-2012 Oracle. All rights reserved.