public static enum PathChildrenCache.StartMode extends java.lang.Enum<PathChildrenCache.StartMode>
PathChildrenCache.start(StartMode)| Enum Constant | Description |
|---|---|
BUILD_INITIAL_CACHE |
The cache will be primed (in the foreground) with initial values.
|
NORMAL |
The cache will be primed (in the background) with initial values.
|
POST_INITIALIZED_EVENT |
After cache is primed with initial values (in the background) a
PathChildrenCacheEvent.Type.INITIALIZED will be posted. |
| Modifier and Type | Method | Description |
|---|---|---|
static PathChildrenCache.StartMode |
valueOf(java.lang.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
the PathChildrenCache.start(StartMode) 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 posted.public static PathChildrenCache.StartMode[] values()
for (PathChildrenCache.StartMode c : PathChildrenCache.StartMode.values()) System.out.println(c);
public static PathChildrenCache.StartMode 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.