io.sarl.sre.janus.boot.configs.subconfigs
Class ContextsConfig
class ContextsConfig
extends java.lang.Object
Configuration of the SRE context repository.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.11
Property Summary
Modifier and type Property and description
long spaceDestructionCallbackDelay
Field Summary
Modifier and type Field and description
public static val java.lang.String PREFIX
Prefix for the configuration entries of the context repository configurations.
public static val java.lang.String SPACE_DESTRUCTION_CALLBACK_DELAY_NAME
Name of the property for the default delay in milliseconds before running the space destruction callback.
public static val long SPACE_DESTRUCTION_CALLBACK_DELAY_VALUE
The default delay in milliseconds before running the space destruction callback.
Action Summary
Modifier and type Action and description
long getSpaceDestructionCallbackDelay
void setSpaceDestructionCallbackDelay(long)
Change the delay in milliseconds that is applied before testing if a space should be destroyed because it is empty.
Property Details
spaceDestructionCallbackDelay
var spaceDestructionCallbackDelay : long

This property is an alias for the action: getSpaceDestructionCallbackDelay

Field Details
PREFIX
public static val PREFIX : java.lang.String = "sre.contexts"
Prefix for the configuration entries of the context repository configurations.
SPACE_DESTRUCTION_CALLBACK_DELAY_NAME
public static val SPACE_DESTRUCTION_CALLBACK_DELAY_NAME : java.lang.String = "sre.contexts.spaceDestructionCallbackDelay"
Name of the property for the default delay in milliseconds before running the space destruction callback. This callback tries to destroy the instance of space if it is empty.
See:
SPACE_DESTRUCTION_CALLBACK_DELAY_VALUE
SPACE_DESTRUCTION_CALLBACK_DELAY_VALUE
public static val SPACE_DESTRUCTION_CALLBACK_DELAY_VALUE : long = 60000
The default delay in milliseconds before running the space destruction callback. This callback tries to destroy the instance of space if it is empty.
See:
SPACE_DESTRUCTION_CALLBACK_DELAY_NAME
Action Details
getSpaceDestructionCallbackDelay
def getSpaceDestructionCallbackDelay : long
setSpaceDestructionCallbackDelay(long)
def setSpaceDestructionCallbackDelay(long)
Change the delay in milliseconds that is applied before testing if a space should be destroyed because it is empty.
Parameters:
delay - the delay in millsesonds.