|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PathChildrenCacheMode>
com.netflix.curator.framework.recipes.cache.PathChildrenCacheMode
PathChildrenCache.PathChildrenCache(CuratorFramework, String, boolean)
or PathChildrenCache.PathChildrenCache(CuratorFramework, String, boolean, ThreadFactory)
public enum PathChildrenCacheMode
Controls which data is cached
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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.
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||