Class ChannelMonitor.RangeTracker

java.lang.Object
org.aksw.commons.io.input.ChannelMonitor.RangeTracker
Enclosing class:
ChannelMonitor

public class ChannelMonitor.RangeTracker extends Object
  • Field Details

    • totalDurationNanos

      protected long totalDurationNanos
    • minReadLength

      protected int minReadLength
    • maxReadLength

      protected int maxReadLength
    • readCount

      protected long readCount
  • Constructor Details

    • RangeTracker

      public RangeTracker(int readLength, long totalDurationNanos)
    • RangeTracker

      public RangeTracker(int minReadLength, int maxReadLength, long totalDurationNanos, long readCount)
  • Method Details

    • getTotalDurationNanos

      public long getTotalDurationNanos()
    • getMinReadLength

      public int getMinReadLength()
    • getMaxReadLength

      public int getMaxReadLength()
    • getReadCount

      public long getReadCount()
    • add

      public void add(ChannelMonitor.RangeTracker contrib)
    • clone

      protected ChannelMonitor.RangeTracker clone()
      Overrides:
      clone in class Object