public final class Partition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Partition.Server
A server from a partition.
|
Modifier and Type | Field and Description |
---|---|
static Partition |
NULL_PARTITION
A partition implementing the null object pattern.
|
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.
|
String |
toString() |
public static final Partition NULL_PARTITION
public Set<Partition.Server> getPrimaryServers()
public Set<Partition.Server> getSecondaryServers()
public String getPartitionId()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.