public final class IOMetricsInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_ACC_BACK_PRESSURE |
static String |
FIELD_NAME_ACC_BUSY |
static String |
FIELD_NAME_ACC_IDLE |
static String |
FIELD_NAME_BYTES_READ |
static String |
FIELD_NAME_BYTES_WRITTEN |
static String |
FIELD_NAME_RECORDS_READ |
static String |
FIELD_NAME_RECORDS_WRITTEN |
Constructor and Description |
---|
IOMetricsInfo(long bytesRead,
boolean bytesReadComplete,
long bytesWritten,
boolean bytesWrittenComplete,
long recordsRead,
boolean recordsReadComplete,
long recordsWritten,
boolean recordsWrittenComplete,
long accumulatedBackpressured,
long accumulatedIdle,
double accumulatedBusy) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getAccumulatedBackpressured() |
double |
getAccumulatedBusy() |
long |
getAccumulatedIdle() |
long |
getBytesRead() |
long |
getBytesWritten() |
long |
getRecordsRead() |
long |
getRecordsWritten() |
int |
hashCode() |
boolean |
isBytesReadComplete() |
boolean |
isBytesWrittenComplete() |
boolean |
isRecordsReadComplete() |
boolean |
isRecordsWrittenComplete() |
public static final String FIELD_NAME_BYTES_READ
public static final String FIELD_NAME_BYTES_WRITTEN
public static final String FIELD_NAME_RECORDS_READ
public static final String FIELD_NAME_RECORDS_WRITTEN
public static final String FIELD_NAME_ACC_BACK_PRESSURE
public static final String FIELD_NAME_ACC_IDLE
public static final String FIELD_NAME_ACC_BUSY
public IOMetricsInfo(long bytesRead, boolean bytesReadComplete, long bytesWritten, boolean bytesWrittenComplete, long recordsRead, boolean recordsReadComplete, long recordsWritten, boolean recordsWrittenComplete, long accumulatedBackpressured, long accumulatedIdle, double accumulatedBusy)
public long getBytesRead()
public boolean isBytesReadComplete()
public long getBytesWritten()
public boolean isBytesWrittenComplete()
public long getRecordsRead()
public boolean isRecordsReadComplete()
public long getRecordsWritten()
public boolean isRecordsWrittenComplete()
public long getAccumulatedBackpressured()
public double getAccumulatedBusy()
public long getAccumulatedIdle()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.