Interface FlowEntry

    • Method Detail

      • life

        long life()
        Returns the number of seconds this flow rule has been applied.
        Returns:
        number of seconds
      • life

        long life​(TimeUnit unit)
        Returns the time this flow rule has been applied.
        Parameters:
        unit - time unit the result will be converted to
        Returns:
        time in the requested TimeUnit
      • packets

        long packets()
        Returns the number of packets this flow rule has matched.
        Returns:
        number of packets
      • bytes

        long bytes()
        Returns the number of bytes this flow rule has matched.
        Returns:
        number of bytes
      • lastSeen

        long lastSeen()
        When this flow entry was last deemed active.
        Returns:
        epoch time of last activity
      • errType

        int errType()
        Indicates the error type.
        Returns:
        an integer value of the error
      • errCode

        int errCode()
        Indicates the error code.
        Returns:
        an integer value of the error