public class AllocationRepository extends AbstractSystemSubRepository
Modifier and Type | Field and Description |
---|---|
static AllocationComponent |
ROOT_ALLOCATION_COMPONENT |
ROOT_ELEMENT_ID
Constructor and Description |
---|
AllocationRepository(SystemModelRepository systemFactory)
Creates a new instance of this class using the given parameters.
|
Modifier and Type | Method and 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.
|
getAndIncrementNextId, getSystemFactory
public static final AllocationComponent ROOT_ALLOCATION_COMPONENT
public AllocationRepository(SystemModelRepository systemFactory)
systemFactory
- The system factory.public final AllocationComponent lookupAllocationComponentInstanceByNamedIdentifier(java.lang.String namedIdentifier)
namedIdentifier
- The identifier to search for.public final AllocationComponent createAndRegisterAllocationComponentInstance(java.lang.String namedIdentifier, AssemblyComponent assemblyComponentInstance, ExecutionContainer executionContainer)
public final java.util.Collection<AllocationComponent> getAllocationComponentInstances()
Copyright 2017 Kieker Project, http://kieker-monitoring.net