Class TableSample

    • Constructor Detail

      • TableSample

        @Deprecated
        public TableSample()
        Deprecated.
        for unit test code only
      • TableSample

        public TableSample​(long totalSamples,
                           int sampleCount,
                           long startTime,
                           String threadName,
                           String label,
                           long elapsed,
                           boolean success,
                           long bytes,
                           long latency,
                           long connect)
    • Method Detail

      • getBytes

        public long getBytes()
      • getSampleNumberString

        public String getSampleNumberString()
      • getElapsed

        public long getElapsed()
      • isSuccess

        public boolean isSuccess()
      • getStartTime

        public long getStartTime()
      • getStartTimeFormatted

        public String getStartTimeFormatted​(Format format)
        Parameters:
        format - the format to be used on the time
        Returns:
        the start time using the specified format Intended for use from Functors
      • getThreadName

        public String getThreadName()
      • getLabel

        public String getLabel()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getLatency

        public long getLatency()
        Returns:
        the latency
      • getConnectTime

        public long getConnectTime()
        Returns:
        the conneect time