public final class Partition extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Partition.Server
A server from a partition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPartitionId()
Returns the ID for the partition.
|
Set<Partition.Server> |
getPrimaryServers()
Returns the set of primary server to use.
|
Set<Partition.Server> |
getSecondaryServers()
Returns the set of fallback servers to use.
|
public Set<Partition.Server> getPrimaryServers()
public Set<Partition.Server> getSecondaryServers()
public String getPartitionId()
Copyright © 2010-2020 Wren Security. All Rights Reserved.