org.apache.hadoop.fs.store.BlockUploadStatistics, org.apache.hadoop.fs.statistics.IOStatisticsSourceAbfsOutputStreamStatisticsImpl@Unstable
public interface AbfsOutputStreamStatistics
extends org.apache.hadoop.fs.statistics.IOStatisticsSource, org.apache.hadoop.fs.store.BlockUploadStatistics
AbfsOutputStream statistics.| Modifier and Type | Method | 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.
|
java.lang.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.IOStatisticsSourcejava.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.