public class ExecutionEnvironmentRepository extends AbstractSystemSubRepository
Modifier and Type | Field and Description |
---|---|
static ExecutionContainer |
ROOT_EXECUTION_CONTAINER
The root execution container.
|
ROOT_ELEMENT_ID
Constructor and Description |
---|
ExecutionEnvironmentRepository(SystemModelRepository systemFactory)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContainer |
createAndRegisterExecutionContainer(java.lang.String namedIdentifier,
java.lang.String name)
This method creates a new execution container and registers it as well.
|
java.util.Collection<ExecutionContainer> |
getExecutionContainers()
Delivers all available execution containers.
|
ExecutionContainer |
lookupExecutionContainerByContainerId(int containerId)
Returns the instance for the passed container ID; null if no instance
with this ID.
|
ExecutionContainer |
lookupExecutionContainerByNamedIdentifier(java.lang.String namedIdentifier) |
getAndIncrementNextId, getSystemFactory
public static final ExecutionContainer ROOT_EXECUTION_CONTAINER
public ExecutionEnvironmentRepository(SystemModelRepository systemFactory)
systemFactory
- The system factory.public final ExecutionContainer lookupExecutionContainerByNamedIdentifier(java.lang.String namedIdentifier)
namedIdentifier
- The identifier to search for.public final ExecutionContainer lookupExecutionContainerByContainerId(int containerId)
containerId
- The ID to search for.public final ExecutionContainer createAndRegisterExecutionContainer(java.lang.String namedIdentifier, java.lang.String name)
namedIdentifier
- The identifier of the new container.name
- The name of the new container.public final java.util.Collection<ExecutionContainer> getExecutionContainers()
Copyright 2017 Kieker Project, http://kieker-monitoring.net