Class IOMetricsInfo
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.metrics.IOMetricsInfo
-
public final class IOMetricsInfo extends Object
IO metrics information.
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description IOMetricsInfo(long bytesRead, boolean bytesReadComplete, long bytesWritten, boolean bytesWrittenComplete, long recordsRead, boolean recordsReadComplete, long recordsWritten, boolean recordsWrittenComplete, long accumulatedBackpressured, long accumulatedIdle, double accumulatedBusy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
FIELD_NAME_BYTES_READ
public static final String FIELD_NAME_BYTES_READ
- See Also:
- Constant Field Values
-
FIELD_NAME_BYTES_WRITTEN
public static final String FIELD_NAME_BYTES_WRITTEN
- See Also:
- Constant Field Values
-
FIELD_NAME_RECORDS_READ
public static final String FIELD_NAME_RECORDS_READ
- See Also:
- Constant Field Values
-
FIELD_NAME_RECORDS_WRITTEN
public static final String FIELD_NAME_RECORDS_WRITTEN
- See Also:
- Constant Field Values
-
FIELD_NAME_ACC_BACK_PRESSURE
public static final String FIELD_NAME_ACC_BACK_PRESSURE
- See Also:
- Constant Field Values
-
FIELD_NAME_ACC_IDLE
public static final String FIELD_NAME_ACC_IDLE
- See Also:
- Constant Field Values
-
FIELD_NAME_ACC_BUSY
public static final String FIELD_NAME_ACC_BUSY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IOMetricsInfo
public IOMetricsInfo(long bytesRead, boolean bytesReadComplete, long bytesWritten, boolean bytesWrittenComplete, long recordsRead, boolean recordsReadComplete, long recordsWritten, boolean recordsWrittenComplete, long accumulatedBackpressured, long accumulatedIdle, double accumulatedBusy)
-
-
Method Detail
-
getBytesRead
public long getBytesRead()
-
isBytesReadComplete
public boolean isBytesReadComplete()
-
getBytesWritten
public long getBytesWritten()
-
isBytesWrittenComplete
public boolean isBytesWrittenComplete()
-
getRecordsRead
public long getRecordsRead()
-
isRecordsReadComplete
public boolean isRecordsReadComplete()
-
getRecordsWritten
public long getRecordsWritten()
-
isRecordsWrittenComplete
public boolean isRecordsWrittenComplete()
-
getAccumulatedBackpressured
public long getAccumulatedBackpressured()
-
getAccumulatedBusy
public double getAccumulatedBusy()
-
getAccumulatedIdle
public long getAccumulatedIdle()
-
-