Package kieker.model.repository
Class AllocationRepository
java.lang.Object
kieker.model.repository.AbstractRepository
kieker.model.repository.AllocationRepository
- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Field Summary
FieldsFields inherited from class kieker.model.repository.AbstractRepository
ROOT_ELEMENT_ID -
Constructor Summary
ConstructorsConstructorDescriptionAllocationRepository(SystemModelRepository systemFactory) Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionfinal AllocationComponentcreateAndRegisterAllocationComponentInstance(String namedIdentifier, AssemblyComponent assemblyComponentInstance, ExecutionContainer executionContainer) final Collection<AllocationComponent>final AllocationComponentlookupAllocationComponentInstanceByNamedIdentifier(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
-
ROOT_ALLOCATION_COMPONENT
-
-
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(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(String namedIdentifier, AssemblyComponent assemblyComponentInstance, ExecutionContainer executionContainer) -
getAllocationComponentInstances
-