public static enum PathChildrenCache.StartMode extends Enum<PathChildrenCache.StartMode>
PathChildrenCache.start(StartMode)| Enum Constant and Description |
|---|
BUILD_INITIAL_CACHE
PathChildrenCache.rebuild() will be called before this method returns in
order to get an initial view of the node. |
NORMAL
cache will _not_ be primed.
|
POST_INITIALIZED_EVENT
After cache is primed with initial values (in the background) a
PathChildrenCacheEvent.Type.INITIALIZED will be posted |
| Modifier and Type | Method and Description |
|---|---|
static PathChildrenCache.StartMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathChildrenCache.StartMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathChildrenCache.StartMode NORMAL
public static final PathChildrenCache.StartMode BUILD_INITIAL_CACHE
PathChildrenCache.rebuild() will be called before this method returns in
order to get an initial view of the node.public static final PathChildrenCache.StartMode POST_INITIALIZED_EVENT
PathChildrenCacheEvent.Type.INITIALIZED will be postedpublic static PathChildrenCache.StartMode[] values()
for (PathChildrenCache.StartMode c : PathChildrenCache.StartMode.values()) System.out.println(c);
public static PathChildrenCache.StartMode 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-2014 The Apache Software Foundation. All Rights Reserved.