kieker.tools.traceAnalysis.systemModel.repository
Class ExecutionEnvironmentRepository
java.lang.Object
kieker.tools.traceAnalysis.systemModel.repository.AbstractSystemSubRepository
kieker.tools.traceAnalysis.systemModel.repository.ExecutionEnvironmentRepository
public class ExecutionEnvironmentRepository
- extends AbstractSystemSubRepository
- Since:
- 1.1
- Author:
- Andre van Hoorn
ROOT_EXECUTION_CONTAINER
public static final ExecutionContainer ROOT_EXECUTION_CONTAINER
- The root execution container.
ExecutionEnvironmentRepository
public ExecutionEnvironmentRepository(SystemModelRepository systemFactory)
- Creates a new instance of this class using the given parameters.
- Parameters:
systemFactory
- The system factory.
lookupExecutionContainerByNamedIdentifier
public final ExecutionContainer lookupExecutionContainerByNamedIdentifier(String namedIdentifier)
- Parameters:
namedIdentifier
- The identifier to search for.
- Returns:
- The instance for the passed namedIdentifier; null if no instance with this namedIdentifier.
lookupExecutionContainerByContainerId
public final ExecutionContainer lookupExecutionContainerByContainerId(int containerId)
- Returns the instance for the passed container ID; null if no instance
with this ID.
- Parameters:
containerId
- The ID to search for.
- Returns:
- The container for the given ID if it exists; null otherwise.
createAndRegisterExecutionContainer
public final ExecutionContainer createAndRegisterExecutionContainer(String namedIdentifier,
String name)
- This method creates a new execution container and registers it as well.
- Parameters:
namedIdentifier
- The identifier of the new container.name
- The name of the new container.
- Returns:
- The newly created execution container.
getExecutionContainers
public final Collection<ExecutionContainer> getExecutionContainers()
- Delivers all available execution containers.
- Returns:
- A collection containing the available containers.
Copyright 2014 Kieker Project, http://kieker-monitoring.net>