public final class ClientMetrics extends Object
| Constructor and Description |
|---|
ClientMetrics() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
getHeartbeatData()
Return current metrics as heartbeat data and reset metrics to default.
|
void |
incBlocksReadLocal(long n)
Increment BLOCKS_READ_LOCAL counter by the amount specified
|
void |
incBlocksReadRemote(long n)
Increment BLOCKS_READ_REMOTE counter by the amount specified
|
void |
incBlocksWrittenLocal(long n)
Increment BLOCKS_WRITTEN_LOCAL counter by the amount specified
|
void |
incBlocksWrittenRemote(long n)
Increment BLOCKS_WRITTEN_REMOTE counter by the amount specified
|
void |
incBytesReadLocal(long n)
Increment BYTES_READ_LOCAL counter by the amount specified
|
void |
incBytesReadRemote(long n)
Increment BYTES_READ_REMOTE counter by the amount specified
|
void |
incBytesReadUfs(long n)
Increment BYTES_READ_UFS counter by the amount specified
|
void |
incBytesWrittenLocal(long n)
Increment BYTES_WRITTEN_LOCAL counter by the amount specified
|
void |
incBytesWrittenRemote(long n)
Increment BYTES_WRITTEN_REMOTE counter by the amount specified
|
void |
incBytesWrittenUfs(long n)
Increment BYTES_WRITTEN_UFS counter by the amount specified
|
public List<Long> getHeartbeatData()
public void incBlocksReadLocal(long n)
n - amount to incrementpublic void incBlocksReadRemote(long n)
n - amount to incrementpublic void incBlocksWrittenLocal(long n)
n - amount to incrementpublic void incBlocksWrittenRemote(long n)
n - amount to incrementpublic void incBytesReadLocal(long n)
n - amount to incrementpublic void incBytesReadRemote(long n)
n - amount to incrementpublic void incBytesReadUfs(long n)
n - amount to incrementpublic void incBytesWrittenLocal(long n)
n - amount to incrementpublic void incBytesWrittenRemote(long n)
n - amount to incrementpublic void incBytesWrittenUfs(long n)
n - amount to incrementCopyright © 2015. All Rights Reserved.