Package org.apache.unomi.healthcheck
Class HealthCheckConfig
- java.lang.Object
-
- org.apache.unomi.healthcheck.HealthCheckConfig
-
public class HealthCheckConfig extends Object
Health check configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_AUTH_REALM
static String
CONFIG_ES_ADDRESSES
static String
CONFIG_ES_LOGIN
static String
CONFIG_ES_PASSWORD
static String
CONFIG_ES_SSL_ENABLED
static String
CONFIG_TRUST_ALL_CERTIFICATES
static String
ENABLED
static String
PROVIDERS
static String
TIMEOUT
-
Constructor Summary
Constructors Constructor Description HealthCheckConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String configKey)
List<String>
getEnabledProviders()
int
getSize()
int
getTimeout()
boolean
isEnabled()
void
modified(Map<String,String> config)
void
setConfig(Map<String,String> config)
void
setEnabled(boolean enabled)
void
setEnabledProviders(List<String> enabledProviders)
void
setTimeout(int timeout)
-
-
-
Field Detail
-
CONFIG_ES_ADDRESSES
public static final String CONFIG_ES_ADDRESSES
- See Also:
- Constant Field Values
-
CONFIG_ES_SSL_ENABLED
public static final String CONFIG_ES_SSL_ENABLED
- See Also:
- Constant Field Values
-
CONFIG_ES_LOGIN
public static final String CONFIG_ES_LOGIN
- See Also:
- Constant Field Values
-
CONFIG_ES_PASSWORD
public static final String CONFIG_ES_PASSWORD
- See Also:
- Constant Field Values
-
CONFIG_TRUST_ALL_CERTIFICATES
public static final String CONFIG_TRUST_ALL_CERTIFICATES
- See Also:
- Constant Field Values
-
CONFIG_AUTH_REALM
public static final String CONFIG_AUTH_REALM
- See Also:
- Constant Field Values
-
ENABLED
public static final String ENABLED
- See Also:
- Constant Field Values
-
PROVIDERS
public static final String PROVIDERS
- See Also:
- Constant Field Values
-
TIMEOUT
public static final String TIMEOUT
- See Also:
- Constant Field Values
-
-