Class ResourceInstrumentor<R,C extends ProbeConfiguration>
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.injection.ResourceInstrumentor<R,C>
-
- Type Parameters:
R
- the type of the resource implementationC
- the type of theProbeConfiguration
- All Implemented Interfaces:
Instrumentor<SEMPair<R,ResourceRepresentative>,C>
public class ResourceInstrumentor<R,C extends ProbeConfiguration> extends Object implements Instrumentor<SEMPair<R,ResourceRepresentative>,C>
An instrumentor for resources. Since resources are not known by this instrumentor,instrumentAll()
is not implemented. For the same reason, this instrumentor deals with pairs of aResourceRepresentative
and a resource implementation for specification of a resource.- See Also:
SEMPair
-
-
Constructor Summary
Constructors Constructor Description ResourceInstrumentor(MeasurementStorage measurementStorage, org.osgi.framework.Bundle bundle, InstrumentationDescription description, PCMModel pcm, MeasurementFacade<C> measurementFacade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
instrument(SEMPair<R,ResourceRepresentative> resourcePair)
void
instrumentAll()
Does nothing, since resources are not known
-
-
-
Constructor Detail
-
ResourceInstrumentor
public ResourceInstrumentor(MeasurementStorage measurementStorage, org.osgi.framework.Bundle bundle, InstrumentationDescription description, PCMModel pcm, MeasurementFacade<C> measurementFacade)
-
-
Method Detail
-
instrument
public void instrument(SEMPair<R,ResourceRepresentative> resourcePair)
- Specified by:
instrument
in interfaceInstrumentor<R,C extends ProbeConfiguration>
-
instrumentAll
public void instrumentAll()
Does nothing, since resources are not known- Specified by:
instrumentAll
in interfaceInstrumentor<R,C extends ProbeConfiguration>
-
-