Uses of Class
org.apache.curator.test.InstanceSpec
-
Uses of InstanceSpec in org.apache.curator.test
Modifier and TypeMethodDescriptionTestingCluster.findConnectionInstance
(org.apache.zookeeper.ZooKeeper client) Given a ZooKeeper instance, returns which server it is connected toQuorumConfigBuilder.getInstanceSpec
(int index) QuorumPeerConfigBuilder.getInstanceSpec()
TestingZooKeeperServer.getInstanceSpec()
static InstanceSpec
InstanceSpec.newInstanceSpec()
Modifier and TypeMethodDescriptionTestingCluster.getInstances()
Returns the set of servers in the ensembleQuorumConfigBuilder.getInstanceSpecs()
TestingZooKeeperServer.getInstanceSpecs()
static Map
<InstanceSpec, Collection<InstanceSpec>> TestingCluster.makeSpecs
(int instanceQty) static Map
<InstanceSpec, Collection<InstanceSpec>> TestingCluster.makeSpecs
(int instanceQty) static Map
<InstanceSpec, Collection<InstanceSpec>> TestingCluster.makeSpecs
(int instanceQty, boolean resetServerIds) static Map
<InstanceSpec, Collection<InstanceSpec>> TestingCluster.makeSpecs
(int instanceQty, boolean resetServerIds) Modifier and TypeMethodDescriptionboolean
TestingCluster.killServer
(InstanceSpec instance) Kills the given server.boolean
TestingCluster.restartServer
(InstanceSpec instance) Restart the given server of the clusterModifierConstructorDescriptionQuorumConfigBuilder
(InstanceSpec... specs) TestingCluster
(InstanceSpec... specs) Creates an ensemble using the given server specsTestingServer
(InstanceSpec spec, boolean start) Create the server using the given portModifierConstructorDescriptionTestingCluster
(Collection<InstanceSpec> specs) Creates an ensemble using the given server specsTestingCluster
(Map<InstanceSpec, Collection<InstanceSpec>> specs) Creates an ensemble using the given server specsTestingCluster
(Map<InstanceSpec, Collection<InstanceSpec>> specs) Creates an ensemble using the given server specs