Package kieker.model.repository
Class AllocationRepository
java.lang.Object
kieker.model.repository.AbstractRepository
kieker.model.repository.AllocationRepository
public class AllocationRepository extends AbstractRepository
- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Field Summary
Fields Modifier and Type Field Description static AllocationComponent
ROOT_ALLOCATION_COMPONENT
-
Constructor Summary
Constructors Constructor Description AllocationRepository(SystemModelRepository systemFactory)
Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description AllocationComponent
createAndRegisterAllocationComponentInstance(java.lang.String namedIdentifier, AssemblyComponent assemblyComponentInstance, ExecutionContainer executionContainer)
java.util.Collection<AllocationComponent>
getAllocationComponentInstances()
AllocationComponent
lookupAllocationComponentInstanceByNamedIdentifier(java.lang.String namedIdentifier)
Returns the instance for the passed factoryIdentifier; null if no instance with this factoryIdentifier.Methods inherited from class kieker.model.repository.AbstractRepository
getAndIncrementNextId, getSystemFactory
-
Field Details
-
Constructor Details
-
AllocationRepository
Creates a new instance of this class using the given parameters.- Parameters:
systemFactory
- The system factory.
-
-
Method Details
-
lookupAllocationComponentInstanceByNamedIdentifier
public final AllocationComponent lookupAllocationComponentInstanceByNamedIdentifier(java.lang.String namedIdentifier)Returns the instance for the passed factoryIdentifier; null if no instance with this factoryIdentifier.- Parameters:
namedIdentifier
- The identifier to search for.- Returns:
- The corresponding instance if it exists.
-
createAndRegisterAllocationComponentInstance
public final AllocationComponent createAndRegisterAllocationComponentInstance(java.lang.String namedIdentifier, AssemblyComponent assemblyComponentInstance, ExecutionContainer executionContainer) -
getAllocationComponentInstances
-