public class EnsureContainers extends Object
EnsurePath
but creates containers.Constructor and Description |
---|
EnsureContainers(CuratorFramework client,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
ensure()
The first time this method is called, all nodes in the
path will be created as containers if needed
|
void |
reset()
Reset so that the next call to
ensure() will attempt to create containers |
public EnsureContainers(CuratorFramework client, String path)
client
- the clientpath
- path to ensure is containersCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.