Class TypedInstrumentationRule<P,​F,​T>

  • Type Parameters:
    P - the type of the model probe
    F - the type of the model calculator from probe
    T - the type of the model calculator to probe

    public class TypedInstrumentationRule<P,​F,​T>
    extends Object
    Wraps an InstrumentationRule and adds the types for which probes are created (both in the instrumentation description and in the EventSim simulation engine)
    • Constructor Detail

      • TypedInstrumentationRule

        public TypedInstrumentationRule​(InstrumentationRule decorated,
                                        Class<?> probedType,
                                        Class<?> calculatorFromType,
                                        Class<?> calculatorToType,
                                        Class<P> modelProbedType,
                                        Class<F> modelCalculatorFromType,
                                        Class<T> modelCalculatorToType,
                                        boolean useCalculatorsOnSingleEntity)
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getProbedType

        public Class<?> getProbedType()
      • getCalculatorFromType

        public Class<?> getCalculatorFromType()
      • getCalculatorToType

        public Class<?> getCalculatorToType()
      • getModelProbedType

        public Class<P> getModelProbedType()
      • getModelCalculatorFromType

        public Class<F> getModelCalculatorFromType()
      • getModelCalculatorToType

        public Class<T> getModelCalculatorToType()
      • useCalculatorsOnSingleEntity

        public boolean useCalculatorsOnSingleEntity()