kieker.tools.traceAnalysis.systemModel.repository
Class AllocationComponentOperationPairFactory
java.lang.Object
kieker.tools.traceAnalysis.systemModel.repository.AbstractSystemSubRepository
kieker.tools.traceAnalysis.systemModel.repository.AllocationComponentOperationPairFactory
public class AllocationComponentOperationPairFactory
- extends AbstractSystemSubRepository
- Since:
- 1.1
- Author:
- Andre van Hoorn
ROOT_PAIR
public static final AllocationComponentOperationPair ROOT_PAIR
AllocationComponentOperationPairFactory
public AllocationComponentOperationPairFactory(SystemModelRepository systemFactory)
- Creates a new instance of this class using the given parameters.
- Parameters:
systemFactory
- The repository for this component.
getPairInstanceByPair
public final AllocationComponentOperationPair getPairInstanceByPair(AllocationComponent allocationComponent,
Operation operation)
- Returns a corresponding pair instance (existing or newly created).
- Parameters:
allocationComponent
- The first element of the pair (the allocation component).operation
- The second element of the pair (the operation).
- Returns:
- A (possible new) pair containing both elements.
getPairById
public final AllocationComponentOperationPair getPairById(int id)
- Returns the instance for the passed ID; null if no instance with this ID is available.
- Parameters:
id
- The ID of the instance in question.
- Returns:
- The corresponding pair to the given ID if it exists, null otherwise.
getPairs
public final Collection<AllocationComponentOperationPair> getPairs()
- Delivers all available allocation-component-operation pairs.
- Returns:
- A collection containing all available pairs.
Copyright 2014 Kieker Project, http://kieker-monitoring.net>