Enum PathChildrenCacheMode
java.lang.Object
java.lang.Enum<PathChildrenCacheMode>
org.apache.curator.framework.recipes.cache.PathChildrenCacheMode
- All Implemented Interfaces:
Serializable
,Comparable<PathChildrenCacheMode>
,java.lang.constant.Constable
Deprecated.
Controls which data is cached
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.The cache will hold all the children and the data for each child node.Deprecated.The cache will hold all the children, the data for each child node and the stat for each child nodeDeprecated.The cache will hold only the children path names. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathChildrenCacheMode
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.
-
Enum Constant Details
-
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_DATA
Deprecated.The cache will hold all the children and the data for each child node.ChildData.getStat()
will returnnull
. -
CACHE_PATHS_ONLY
Deprecated.The cache will hold only the children path names.ChildData.getStat()
andChildData.getData()
will both returnnull
.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
PathChildrenCache(CuratorFramework, String, boolean)
orPathChildrenCache(CuratorFramework, String, boolean, ThreadFactory)