ReplicationPolicy Classe
- java.
lang. Object - JsonSerializable
- com.
microsoft. azure. cosmosdb. ReplicationPolicy
- com.
public class ReplicationPolicy extends JsonSerializable
Encapsula a política de replicação no serviço de banco de dados do Azure Cosmos DB.
Resumo do Construtor
Construtor | Description | |
---|---|---|
ReplicationPolicy() | ||
ReplicationPolicy(String jsonString) |
Construtor. |
Resumo do método
Modificador e tipo | Método e descrição |
---|---|
int | getMaxReplicaSetSize() |
int | getMinReplicaSetSize() |
Membros herdados
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
JsonSerializable.getHashMap()
JsonSerializable.getInt(String propertyName)
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(List<String> propertyNames)
JsonSerializable.getString(String propertyName)
JsonSerializable.has(String propertyName)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.remove(String propertyName)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
Detalhes do construtor
ReplicationPolicy
public ReplicationPolicy()
ReplicationPolicy
public ReplicationPolicy(String jsonString)
Construtor.
Parameters:
jsonString
- a cadeia de caracteres json que representa a política de replicação.
Detalhes do método
getMaxReplicaSetSize
public int getMaxReplicaSetSize()
getMinReplicaSetSize
public int getMinReplicaSetSize()
Aplica-se a
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários