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