public static enum ConfigReloadProperties.ReloadDetectionMode extends Enum<ConfigReloadProperties.ReloadDetectionMode>
Enum Constant and Description |
---|
EVENT
Listens to Kubernetes events and checks if a reload is needed when configmaps or secrets change.
|
POLLING
Enables a polling task that retrieves periodically all external properties and
fire a reload when they change.
|
Modifier and Type | Method and Description |
---|---|
static ConfigReloadProperties.ReloadDetectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigReloadProperties.ReloadDetectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigReloadProperties.ReloadDetectionMode POLLING
public static final ConfigReloadProperties.ReloadDetectionMode EVENT
public static ConfigReloadProperties.ReloadDetectionMode[] values()
for (ConfigReloadProperties.ReloadDetectionMode c : ConfigReloadProperties.ReloadDetectionMode.values()) System.out.println(c);
public static ConfigReloadProperties.ReloadDetectionMode 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 © 2016–2017 Red Hat. All rights reserved.