Class StateTransitionEvent<T extends>

  • Type Parameters:
    T - class of state for the metric.
    All Implemented Interfaces:

    public final class StateTransitionEvent<T extends>
    extends Event
    Event of state transition. It contains timestamp and the state transition.
    See Also:
    Serialized Form
    • Constructor Detail

      • StateTransitionEvent

        public StateTransitionEvent​(long timestamp,
                                    T prevState,
                                    T newState)
    • Method Detail

      • getPrevState

        public T getPrevState()
        Get previous state.
        previous state.
      • getNewState

        public T getNewState()
        Get new state.
        new state.