Interface MeterEntry

    • Method Detail

      • setState

        void setState​(MeterState state)
        Updates the state of this meter.
        Parameters:
        state - a meter state
      • setLife

        void setLife​(long life)
        Set the amount of time the meter has existed in seconds.
        Parameters:
        life - number of seconds
      • setReferenceCount

        void setReferenceCount​(long count)
        Sets the number of flows which are using this meter.
        Parameters:
        count - a reference count.
      • setProcessedPackets

        void setProcessedPackets​(long packets)
        Updates the number of packets seen by this meter.
        Parameters:
        packets - a packet count.
      • setProcessedBytes

        void setProcessedBytes​(long bytes)
        Updates the number of bytes seen by the meter.
        Parameters:
        bytes - a byte counter.