public class ReplicationPolicy extends JsonSerializable
| Constructor and Description |
|---|
ReplicationPolicy() |
ReplicationPolicy(String jsonString)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxReplicaSetSize() |
int |
getMinReplicaSetSize() |
get, getBoolean, getCollection, getCollection, getDouble, getHashMap, getInt, getList, getLogger, getLong, getMapper, getObject, getObject, getObjectByPath, getString, has, remove, set, toJson, toJson, toObject, toStringpublic ReplicationPolicy()
public ReplicationPolicy(String jsonString)
jsonString - the json string that represents the replication policy.Copyright © 2019. All rights reserved.