public class ServicesConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ASYNCHRONOUS_PROBE_UPDATE_NAME
Name of the property for the flag that indicates if the probe manager uses an asynchronous
update mechanism.
|
static boolean |
ASYNCHRONOUS_PROBE_UPDATE_VALUE
The default value for the flag that indicates if the probe manager uses an asynchronous
update mechanism.
|
static String |
PREFIX
Prefix for the configuration entries of the services' configurations.
|
static String |
START_TIMEOUT_NAME
Name of the property for the default timeout for services' start in milliseconds.
|
static long |
START_TIMEOUT_VALUE
The default timeout for services' start in milliseconds.
|
static String |
STOP_TIMEOUT_NAME
Name of the property for the default timeout for services' stop in milliseconds.
|
static long |
STOP_TIMEOUT_VALUE
The default timeout for services' stop in milliseconds.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAsynchronousProbeUpdate() |
ExecutorsConfig |
getExecutors()
Replies the parallel execution configuration.
|
LifecycleConfig |
getLifecycle()
Replies the agent lifecycle configuration.
|
LoggingConfig |
getLogging()
Replies the SRE logging configuration.
|
long |
getStartTimeout() |
long |
getStopTimeout() |
void |
setAsynchronousProbeUpdate(doAsync : boolean)
Change the flag that enables to select the type of probe manager
|
void |
setExecutors(config : ExecutorsConfig)
Change the parallel execution configuration.
|
void |
setLifecycle(config : LifecycleConfig)
Change the agent lifecycle configuration.
|
void |
setLogging(config : LoggingConfig)
Change the SRE logging configuration.
|
long |
setStartTimeout(timeout : long)
Change the timeout for the start of all the services.
|
long |
setStopTimeout(timeout : long)
Change the timeout for the stop of all the services.
|
public static val
PREFIX : String
ServicesConfig
public static val
START_TIMEOUT_NAME : String
ServicesConfig
public static val
START_TIMEOUT_VALUE : long
ServicesConfig
public static val
STOP_TIMEOUT_NAME : String
ServicesConfig
public static val
STOP_TIMEOUT_VALUE : long
ServicesConfig
public static val
ASYNCHRONOUS_PROBE_UPDATE_NAME : String
ServicesConfig
public static val
ASYNCHRONOUS_PROBE_UPDATE_VALUE : boolean
ServicesConfig
public def
setAsynchronousProbeUpdate(doAsync : boolean) : void
ServicesConfig
doAsync
- is true
if the asynchronous update is prefered.public def
setStartTimeout(timeout : long) : long
ServicesConfig
timeout
- the new timeout in milliseconds.public def
setStopTimeout(timeout : long) : long
ServicesConfig
timeout
- the new timeout in milliseconds.@Pure
public def
getExecutors() : ExecutorsConfig
ServicesConfig
public def
setExecutors(config : ExecutorsConfig) : void
ServicesConfig
config
- the parallel execution configuration.@Pure
public def
getLifecycle() : LifecycleConfig
ServicesConfig
public def
setLifecycle(config : LifecycleConfig) : void
ServicesConfig
config
- the agent lifecycle configuration.@Pure
public def
getLogging() : LoggingConfig
ServicesConfig
public def
setLogging(config : LoggingConfig) : void
ServicesConfig
config
- the SRE logging configuration.@Pure
public def
getStartTimeout() : long
@Pure
public def
getStopTimeout() : long
@Pure
public def
getAsynchronousProbeUpdate() : boolean
Copyright © 2021 the original authors or authors.