| Modifier and Type | Method and Description |
|---|---|
static <T extends Resource<T>> |
TestCluster.builder()
Creates a new test cluster builder.
|
TestCluster.Builder<T> |
TestCluster.Builder.withActiveMembers(int activeMembers)
Sets the number of active members for the cluster.
|
TestCluster.Builder<T> |
TestCluster.Builder.withClusterFactory(java.util.function.Function<Collection<String>,ClusterConfig> clusterFactory)
Sets the cluster configuration factory.
|
TestCluster.Builder<T> |
TestCluster.Builder.withPassiveMembers(int passiveMembers)
Sets the number of passive members for the cluster.
|
TestCluster.Builder<T> |
TestCluster.Builder.withResourceFactory(java.util.function.Function<ClusterConfig,T> resourceFactory)
Sets the resource factory.
|
TestCluster.Builder<T> |
TestCluster.Builder.withUriFactory(java.util.function.Function<Integer,String> uriFactory)
Sets the member URI factory.
|
Copyright © 2013-2015. All Rights Reserved.