Class MeterData


  • public class MeterData
    extends java.lang.Object
    A class representing the meter information stored in the meter store.
    • Constructor Summary

      Constructors 
      Constructor Description
      MeterData​(org.onosproject.net.meter.Meter meter, org.onosproject.net.meter.MeterFailReason reason, org.onosproject.cluster.NodeId origin)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.onosproject.net.meter.Meter meter()  
      org.onosproject.cluster.NodeId origin()  
      java.util.Optional<org.onosproject.net.meter.MeterFailReason> reason()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MeterData

        public MeterData​(org.onosproject.net.meter.Meter meter,
                         org.onosproject.net.meter.MeterFailReason reason,
                         org.onosproject.cluster.NodeId origin)
    • Method Detail

      • meter

        public org.onosproject.net.meter.Meter meter()
      • reason

        public java.util.Optional<org.onosproject.net.meter.MeterFailReason> reason()
      • origin

        public org.onosproject.cluster.NodeId origin()