Class MeterEvent

    • Constructor Detail

      • MeterEvent

        public MeterEvent​(MeterEvent.Type type,
                          Meter meter)
        Creates an event of a given type and for the specified meter and the current time.
        Parameters:
        type - meter event type
        meter - event subject
      • MeterEvent

        public MeterEvent​(MeterEvent.Type type,
                          Meter meter,
                          long time)
        Creates an event of a given type and for the specified meter and time.
        Parameters:
        type - meter event type
        meter - event subject
        time - occurrence time