Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
M
N
O
Q
R
S
T
Z
A
acquireSemaphore(Semaphore)
- Method in class org.apache.curator.test.
Timing
Wait on the given semaphore
acquireSemaphore(Semaphore, int)
- Method in class org.apache.curator.test.
Timing
Wait on the given semaphore
apply()
- Static method in class org.apache.curator.test.
ByteCodeRewrite
awaitLatch(CountDownLatch)
- Method in class org.apache.curator.test.
Timing
Wait on the given latch
B
BaseClassForTests
- Class in
org.apache.curator.test
BaseClassForTests()
- Constructor for class org.apache.curator.test.
BaseClassForTests
beforeSuite(ITestContext)
- Method in class org.apache.curator.test.
BaseClassForTests
blockUntilStarted()
- Method in class org.apache.curator.test.
TestingZooKeeperMain
blockUntilStarted()
- Method in interface org.apache.curator.test.
ZooKeeperMainFace
buildConfig()
- Method in class org.apache.curator.test.
QuorumConfigBuilder
buildConfig(int)
- Method in class org.apache.curator.test.
QuorumConfigBuilder
ByteCodeRewrite
- Class in
org.apache.curator.test
ByteCodeRewrite()
- Constructor for class org.apache.curator.test.
ByteCodeRewrite
C
close()
- Method in class org.apache.curator.test.
TestingCluster
Shutdown the ensemble, free resources, etc.
close()
- Method in class org.apache.curator.test.
TestingServer
Close the server and any open clients and delete the temp directory
close()
- Method in class org.apache.curator.test.
TestingZooKeeperMain
close()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
connection()
- Method in class org.apache.curator.test.
Timing
Return the value to use for ZK connection timeout
D
deleteDataDirectoryOnClose()
- Method in class org.apache.curator.test.
InstanceSpec
deleteDirectoryContents(File)
- Static method in class org.apache.curator.test.
DirectoryUtils
deleteRecursively(File)
- Static method in class org.apache.curator.test.
DirectoryUtils
DirectoryUtils
- Class in
org.apache.curator.test
DirectoryUtils()
- Constructor for class org.apache.curator.test.
DirectoryUtils
E
equals(Object)
- Method in class org.apache.curator.test.
InstanceSpec
F
findConnectionInstance(ZooKeeper)
- Method in class org.apache.curator.test.
TestingCluster
Given a ZooKeeper instance, returns which server it is connected to
forWaiting()
- Method in class org.apache.curator.test.
Timing
Return a new timing with the standard multiple for waiting on latches, etc.
G
getConnectString()
- Method in class org.apache.curator.test.
InstanceSpec
getConnectString()
- Method in class org.apache.curator.test.
TestingCluster
Returns the connection string to pass to the ZooKeeper constructor
getConnectString()
- Method in class org.apache.curator.test.
TestingServer
Returns the connection string to use
getDataDirectory()
- Method in class org.apache.curator.test.
InstanceSpec
getElectionPort()
- Method in class org.apache.curator.test.
InstanceSpec
getInstances()
- Method in class org.apache.curator.test.
TestingCluster
Returns the set of servers in the ensemble
getInstanceSpec(int)
- Method in class org.apache.curator.test.
QuorumConfigBuilder
getInstanceSpec()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
getInstanceSpecs()
- Method in class org.apache.curator.test.
QuorumConfigBuilder
getInstanceSpecs()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
getMaxClientCnxns()
- Method in class org.apache.curator.test.
InstanceSpec
getPort()
- Method in class org.apache.curator.test.
InstanceSpec
getPort()
- Method in class org.apache.curator.test.
TestingServer
Return the port being used
getQuorumPeer()
- Method in class org.apache.curator.test.
TestingZooKeeperMain
getQuorumPeer()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
getQuorumPeer()
- Method in interface org.apache.curator.test.
ZooKeeperMainFace
getQuorumPort()
- Method in class org.apache.curator.test.
InstanceSpec
getRandomPort()
- Static method in class org.apache.curator.test.
InstanceSpec
getServerId()
- Method in class org.apache.curator.test.
InstanceSpec
getServers()
- Method in class org.apache.curator.test.
TestingCluster
getTempDirectory()
- Method in class org.apache.curator.test.
TestingServer
Returns the temp directory being used
getTickTime()
- Method in class org.apache.curator.test.
InstanceSpec
H
hashCode()
- Method in class org.apache.curator.test.
InstanceSpec
I
InstanceSpec
- Class in
org.apache.curator.test
Abstracts one of the servers in the ensemble
InstanceSpec(File, int, int, int, boolean, int)
- Constructor for class org.apache.curator.test.
InstanceSpec
InstanceSpec(File, int, int, int, boolean, int, int, int)
- Constructor for class org.apache.curator.test.
InstanceSpec
isFromRandom()
- Method in class org.apache.curator.test.
QuorumConfigBuilder
K
kill(ZooKeeper, String)
- Static method in class org.apache.curator.test.
KillSession
Kill the given ZK session
kill(ZooKeeper, String, int)
- Static method in class org.apache.curator.test.
KillSession
Kill the given ZK session
kill()
- Method in class org.apache.curator.test.
TestingZooKeeperMain
kill()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
kill()
- Method in interface org.apache.curator.test.
ZooKeeperMainFace
killServer(InstanceSpec)
- Method in class org.apache.curator.test.
TestingCluster
Kills the given server.
KillSession
- Class in
org.apache.curator.test
Utility to simulate a ZK session dying.
KillSession()
- Constructor for class org.apache.curator.test.
KillSession
M
milliseconds()
- Method in class org.apache.curator.test.
Timing
Return the base time in milliseconds
multiple(double)
- Method in class org.apache.curator.test.
Timing
Return a new timing that is a multiple of the this timing
N
newInstanceSpec()
- Static method in class org.apache.curator.test.
InstanceSpec
O
org.apache.curator.test
- package org.apache.curator.test
Q
QuorumConfigBuilder
- Class in
org.apache.curator.test
QuorumConfigBuilder(Collection<InstanceSpec>)
- Constructor for class org.apache.curator.test.
QuorumConfigBuilder
QuorumConfigBuilder(InstanceSpec...)
- Constructor for class org.apache.curator.test.
QuorumConfigBuilder
R
restart()
- Method in class org.apache.curator.test.
TestingServer
Restart the server.
restart()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
Restart the server.
restartServer(InstanceSpec)
- Method in class org.apache.curator.test.
TestingCluster
Restart the given server of the cluster
runFromConfig(QuorumPeerConfig)
- Method in class org.apache.curator.test.
TestingZooKeeperMain
runFromConfig(QuorumPeerConfig)
- Method in interface org.apache.curator.test.
ZooKeeperMainFace
S
seconds()
- Method in class org.apache.curator.test.
Timing
Return the base time in seconds
server
- Variable in class org.apache.curator.test.
BaseClassForTests
session()
- Method in class org.apache.curator.test.
Timing
Return the value to use for ZK session timeout
setup()
- Method in class org.apache.curator.test.
BaseClassForTests
size()
- Method in class org.apache.curator.test.
QuorumConfigBuilder
sleepABit()
- Method in class org.apache.curator.test.
Timing
Sleep for a small amount of time
start()
- Method in class org.apache.curator.test.
TestingCluster
Start the ensemble.
start()
- Method in class org.apache.curator.test.
TestingServer
Start the server
start()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
stop()
- Method in class org.apache.curator.test.
TestingCluster
Shutdown the ensemble WITHOUT freeing resources, etc.
stop()
- Method in class org.apache.curator.test.
TestingServer
Stop the server without deleting the temp directory
stop()
- Method in class org.apache.curator.test.
TestingZooKeeperServer
T
teardown()
- Method in class org.apache.curator.test.
BaseClassForTests
TestingCluster
- Class in
org.apache.curator.test
manages an internally running ensemble of ZooKeeper servers.
TestingCluster(int)
- Constructor for class org.apache.curator.test.
TestingCluster
Creates an ensemble comprised of
n
servers.
TestingCluster(InstanceSpec...)
- Constructor for class org.apache.curator.test.
TestingCluster
Creates an ensemble using the given server specs
TestingCluster(Collection<InstanceSpec>)
- Constructor for class org.apache.curator.test.
TestingCluster
Creates an ensemble using the given server specs
TestingCluster(Map<InstanceSpec, Collection<InstanceSpec>>)
- Constructor for class org.apache.curator.test.
TestingCluster
Creates an ensemble using the given server specs
TestingServer
- Class in
org.apache.curator.test
manages an internally running ZooKeeper server.
TestingServer()
- Constructor for class org.apache.curator.test.
TestingServer
Create the server using a random port
TestingServer(boolean)
- Constructor for class org.apache.curator.test.
TestingServer
Create the server using a random port
TestingServer(int)
- Constructor for class org.apache.curator.test.
TestingServer
Create and start the server using the given port
TestingServer(int, boolean)
- Constructor for class org.apache.curator.test.
TestingServer
Create the server using the given port
TestingServer(int, File)
- Constructor for class org.apache.curator.test.
TestingServer
Create and start the server using the given port
TestingServer(int, File, boolean)
- Constructor for class org.apache.curator.test.
TestingServer
Create the server using the given port
TestingServer(InstanceSpec, boolean)
- Constructor for class org.apache.curator.test.
TestingServer
Create the server using the given port
TestingZooKeeperMain
- Class in
org.apache.curator.test
TestingZooKeeperMain()
- Constructor for class org.apache.curator.test.
TestingZooKeeperMain
TestingZooKeeperServer
- Class in
org.apache.curator.test
Thanks to Jeremie BORDIER (ahfeel) for this code
TestingZooKeeperServer(QuorumConfigBuilder)
- Constructor for class org.apache.curator.test.
TestingZooKeeperServer
TestingZooKeeperServer(QuorumConfigBuilder, int)
- Constructor for class org.apache.curator.test.
TestingZooKeeperServer
Timing
- Class in
org.apache.curator.test
Utility to get various testing times
Timing()
- Constructor for class org.apache.curator.test.
Timing
Use the default base time
Timing(double)
- Constructor for class org.apache.curator.test.
Timing
Use a multiple of the default base time
Timing(double, int)
- Constructor for class org.apache.curator.test.
Timing
Use a multiple of the default base time
Timing(long, TimeUnit)
- Constructor for class org.apache.curator.test.
Timing
Timing(long, TimeUnit, int)
- Constructor for class org.apache.curator.test.
Timing
toString()
- Method in class org.apache.curator.test.
InstanceSpec
Z
ZooKeeperMainFace
- Interface in
org.apache.curator.test
A
B
C
D
E
F
G
H
I
K
M
N
O
Q
R
S
T
Z
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011–2014
The Apache Software Foundation
. All rights reserved.