Class ChannelMonitor
java.lang.Object
org.aksw.commons.io.input.ChannelMonitor
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.common.collect.RangeMap<Long, ChannelMonitor.RangeTracker> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddumpJson(OutputStream out) com.google.common.collect.RangeMap<Long, ChannelMonitor.RangeTracker> voidsubmitReadStats(long readStartPos, long readEndPos, int readLength, long durationNanos)
-
Field Details
-
trackedReads
-
-
Constructor Details
-
ChannelMonitor
public ChannelMonitor()
-
-
Method Details
-
getTrackedReads
-
submitReadStats
public void submitReadStats(long readStartPos, long readEndPos, int readLength, long durationNanos) -
dumpJson
- Throws:
IOException
-