public class EnsureContainers
extends Object
-
Constructor Summary
Constructors
-
Method Summary
void
The first time this method is called, all nodes in the
path will be created as containers if needed
void
Reset so that the next call to
ensure()
will attempt to create containers
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EnsureContainers
- Parameters:
client
- the client
path
- path to ensure is containers
-
Method Details
-
ensure
The first time this method is called, all nodes in the
path will be created as containers if needed
- Throws:
Exception
- errors
-
reset
public void reset()
Reset so that the next call to
ensure()
will attempt to create containers