public class ConfigReloadOnChange extends Object implements Extension
This only works on configuration defined using "esigate.config" system property.
The polling frequency can be set by adding the following property to esigate configuration :
<driverid>.configReloadDelay
Default polling frequency is 5 seconds.
This class is not intended to use in production.
Modifier and Type | Field and Description |
---|---|
static Parameter<Long> |
CONFIG_RELOAD_DELAY
The wait time (ms) between to check for configuration change.
|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ConfigReloadOnChange() |
Modifier and Type | Method and Description |
---|---|
void |
init(Driver driver,
Properties properties)
Initialize the extension using the given properties.
|
public static final Parameter<Long> CONFIG_RELOAD_DELAY
protected static final org.slf4j.Logger LOG
public void init(Driver driver, Properties properties)
Extension
Extensions may register to events during the init phase.
Copyright © 2008–2018. All rights reserved.