Uses of Class
org.apache.curator.test.InstanceSpec
Packages that use InstanceSpec
-
Uses of InstanceSpec in org.apache.curator.test
Methods in org.apache.curator.test that return InstanceSpecModifier 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()
Methods in org.apache.curator.test that return types with arguments of type InstanceSpecModifier 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) Methods in org.apache.curator.test with parameters of type InstanceSpecModifier and TypeMethodDescriptionboolean
TestingCluster.killServer
(InstanceSpec instance) Kills the given server.boolean
TestingCluster.restartServer
(InstanceSpec instance) Restart the given server of the clusterConstructors in org.apache.curator.test with parameters of type InstanceSpecModifierConstructorDescriptionQuorumConfigBuilder
(InstanceSpec... specs) TestingCluster
(InstanceSpec... specs) Creates an ensemble using the given server specsTestingServer
(InstanceSpec spec, boolean start) Create the server using the given portConstructor parameters in org.apache.curator.test with type arguments of type InstanceSpecModifierConstructorDescriptionTestingCluster
(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