PathChildrenCache.PathChildrenCache(CuratorFramework, String, boolean)
or PathChildrenCache.PathChildrenCache(CuratorFramework, String, boolean, ThreadFactory)@Deprecated public enum PathChildrenCacheMode extends Enum<PathChildrenCacheMode>
| Enum Constant and Description |
|---|
CACHE_DATA
Deprecated.
The cache will hold all the children and the data for each child node.
|
CACHE_DATA_AND_STAT
Deprecated.
The cache will hold all the children, the data for each child node
and the stat for each child node
|
CACHE_PATHS_ONLY
Deprecated.
The cache will hold only the children path names.
|
| Modifier and Type | Method and Description |
|---|---|
static PathChildrenCacheMode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static PathChildrenCacheMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathChildrenCacheMode CACHE_DATA_AND_STAT
public static final PathChildrenCacheMode CACHE_DATA
ChildData.getStat() will return null.public static final PathChildrenCacheMode CACHE_PATHS_ONLY
ChildData.getStat() and ChildData.getData() will both return null.public static PathChildrenCacheMode[] values()
for (PathChildrenCacheMode c : PathChildrenCacheMode.values()) System.out.println(c);
public static PathChildrenCacheMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.