|
||||||||||
| 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
public enum PathChildrenCacheMode
Controls which data is cached
| Enum Constant Summary | |
|---|---|
CACHE_DATA
The cache will hold all the children and the data for each child node. |
|
CACHE_DATA_AND_STAT
The cache will hold all the children, the data for each child node and the stat for each child node |
|
CACHE_PATHS_ONLY
The cache will hold only the children path names. |
|
| Method Summary | |
|---|---|
static PathChildrenCacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PathChildrenCacheMode[] |
values()
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(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||