- <init>
This constructor lets you set the seed of the Random Number Generator and is
meant for testing.
- createCuratorClient
This method creates the Curator client and connects to ZooKeeper.
- generateRandomSecret
- generateZKData
Serialize the data to attempt to push into ZooKeeper. The format is this:
[DATA_VERSION, newSecretL
- pullFromZK
Pulls data from ZooKeeper. If isInit is false, it will only parse the next
secret and version. If is
- pushToZK
Pushes proposed data to ZooKeeper. If a different server pushes its data first,
it gives up.
- setJaasConfiguration