PathChildrenCache(CuratorFramework, String, boolean)
or PathChildrenCache(CuratorFramework, String, boolean, ThreadFactory)@Deprecated public enum PathChildrenCacheMode extends java.lang.Enum<PathChildrenCacheMode>
| Enum Constant | 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 | Description |
|---|---|---|
static PathChildrenCacheMode |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.