Interface StoredFlowEntry

    • Method Detail

      • setLastSeen

        void setLastSeen()
        Sets the last active epoch time.
      • setState

        void setState​(FlowEntry.FlowEntryState newState)
        Sets the new state for this entry.
        Parameters:
        newState - new flow entry state.
      • setLife

        void setLife​(long lifeSecs)
        Sets how long this entry has been entered in the system.
        Parameters:
        lifeSecs - seconds
      • setLife

        void setLife​(long life,
                     TimeUnit timeUnit)
        Sets how long this entry has been entered in the system.
        Parameters:
        life - time
        timeUnit - unit of time
      • setLiveType

        void setLiveType​(FlowEntry.FlowLiveType liveType)
        Sets the flow live type, i.e., IMMEDIATE, SHORT, MID, LONG.
        Parameters:
        liveType - flow live type
      • setPackets

        void setPackets​(long packets)
        Number of packets seen by this entry.
        Parameters:
        packets - a long value
      • setBytes

        void setBytes​(long bytes)
        Number of bytes seen by this rule.
        Parameters:
        bytes - a long value