@InterfaceStability.Unstable
public interface AbfsOutputStreamStatistics
extends org.apache.hadoop.fs.statistics.IOStatisticsSource
AbfsOutputStream statistics.| Modifier and Type | Method and Description |
|---|---|
void |
bytesToUpload(long bytes)
Number of bytes to be uploaded.
|
org.apache.hadoop.fs.statistics.IOStatistics |
getIOStatistics()
Get the IOStatisticsStore instance from AbfsOutputStreamStatistics.
|
void |
queueShrunk()
Number of times task queue is shrunk.
|
org.apache.hadoop.fs.statistics.DurationTracker |
timeSpentTaskWait()
Time spent in waiting for tasks to be completed in the blocking queue.
|
String |
toString()
Method to form a string of all AbfsOutputStream statistics and their
values.
|
void |
uploadFailed(long bytes)
Records that upload is failed and the number of bytes.
|
void |
uploadSuccessful(long bytes)
Records a successful upload and the number of bytes uploaded.
|
void |
writeCurrentBuffer()
Number of times buffer is written to the service after a write operation.
|
void bytesToUpload(long bytes)
bytes - number of bytes to upload.void uploadSuccessful(long bytes)
bytes - number of bytes that were successfully uploaded.void uploadFailed(long bytes)
bytes - number of bytes that failed to upload.org.apache.hadoop.fs.statistics.DurationTracker timeSpentTaskWait()
void queueShrunk()
void writeCurrentBuffer()
org.apache.hadoop.fs.statistics.IOStatistics getIOStatistics()
getIOStatistics in interface org.apache.hadoop.fs.statistics.IOStatisticsSourceCopyright © 2008–2021 Apache Software Foundation. All rights reserved.