Class Aggregate

    • Constructor Detail

      • Aggregate

        public Aggregate​(long bytesIn,
                         long bytesOut,
                         String hostname,
                         String hostname2,
                         boolean ce,
                         boolean nonEct)
      • Aggregate

        public Aggregate​(long bytesIn,
                         long bytesOut,
                         String hostname,
                         String hostname2,
                         Integer ecn)
    • Method Detail

      • withHostname

        public Aggregate withHostname​(String hostname)
        Returns a copy of this aggregate with hostname set to the given value and hostname2 being null.
      • getBytesIn

        public long getBytesIn()
      • getBytesOut

        public long getBytesOut()
      • getHostname

        public String getHostname()
      • getHostname2

        public String getHostname2()
      • getBytes

        public long getBytes()
      • isCongestionEncountered

        public boolean isCongestionEncountered()
      • isNonEcnCapableTransport

        public boolean isNonEcnCapableTransport()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object