public class LifecycleConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AGENT_SPAWNING_COUNT_PER_THREAD_NAME
Name of property that indicates the maximal number of agents that could be spawn by a single
thread of the lifecycle service.
|
static int |
AGENT_SPAWNING_COUNT_PER_THREAD_VALUE
Indicates the maximal number of agents that could be spawn by a single
thread of the lifecycle service.
|
static String |
CREATE_AGENT_WITH_INJECTOR_NAME
Name of property that indicates if agents must be created by an injector.
|
static boolean |
CREATE_AGENT_WITH_INJECTOR_VALUE
Indicates if the agents must be created with an injector by default.
|
static String |
PREFIX
Prefix for the configuration entries of the lifecycle configuration.
|
Modifier and Type | Method and Description |
---|---|
int |
getAgentSpawningCountPerThread() |
boolean |
isCreateAgentsWithInjector() |
void |
setAgentSpawningCountPerThread(number : int)
Change the maximal number of agents that could be spawn by a single
thread of the lifecycle service.
|
void |
setCreateAgentsWithInjector(useInjector : boolean)
Change the flag that indicates if the agents must be created with injector, or not.
|
public static val
PREFIX : String
LifecycleConfig
public static val
CREATE_AGENT_WITH_INJECTOR_NAME : String
LifecycleConfig
public static val
CREATE_AGENT_WITH_INJECTOR_VALUE : boolean
LifecycleConfig
public static val
AGENT_SPAWNING_COUNT_PER_THREAD_NAME : String
LifecycleConfig
LifecycleConfig.AGENT_SPAWNING_COUNT_PER_THREAD_VALUE
,
Constant Field Valuespublic static val
AGENT_SPAWNING_COUNT_PER_THREAD_VALUE : int
LifecycleConfig
LifecycleConfig.AGENT_SPAWNING_COUNT_PER_THREAD_NAME
,
Constant Field Valuespublic def
setCreateAgentsWithInjector(useInjector : boolean) : void
LifecycleConfig
useInjector
- is true
if the agents should be created by an injector.public def
setAgentSpawningCountPerThread(number : int) : void
LifecycleConfig
number
- is the number of agent to be spawned.@Pure
public def
isCreateAgentsWithInjector() : boolean
@Pure
public def
getAgentSpawningCountPerThread() : int
Copyright © 2020 the original authors or authors.