@Internal public class ShardMetricsReporter extends Object
ShardConsumer
s to report metric values.Constructor and Description |
---|
ShardMetricsReporter() |
Modifier and Type | Method and Description |
---|---|
long |
getAverageRecordSizeBytes() |
double |
getBytesPerRead() |
double |
getLoopFrequencyHz() |
int |
getMaxNumberOfRecordsPerFetch() |
long |
getMillisBehindLatest() |
int |
getNumberOfAggregatedRecords() |
int |
getNumberOfDeaggregatedRecords() |
long |
getRunLoopTimeNanos() |
long |
getSleepTimeMillis() |
void |
setAverageRecordSizeBytes(long averageRecordSizeBytes) |
void |
setBytesPerRead(double bytesPerRead) |
void |
setLoopFrequencyHz(double loopFrequencyHz) |
void |
setMaxNumberOfRecordsPerFetch(int maxNumberOfRecordsPerFetch) |
void |
setMillisBehindLatest(long millisBehindLatest) |
void |
setNumberOfAggregatedRecords(int numberOfAggregatedRecords) |
void |
setNumberOfDeaggregatedRecords(int numberOfDeaggregatedRecords) |
void |
setRunLoopTimeNanos(long runLoopTimeNanos) |
void |
setSleepTimeMillis(long sleepTimeMillis) |
public long getMillisBehindLatest()
public void setMillisBehindLatest(long millisBehindLatest)
public double getLoopFrequencyHz()
public void setLoopFrequencyHz(double loopFrequencyHz)
public double getBytesPerRead()
public void setBytesPerRead(double bytesPerRead)
public long getRunLoopTimeNanos()
public void setRunLoopTimeNanos(long runLoopTimeNanos)
public long getAverageRecordSizeBytes()
public void setAverageRecordSizeBytes(long averageRecordSizeBytes)
public long getSleepTimeMillis()
public void setSleepTimeMillis(long sleepTimeMillis)
public int getNumberOfAggregatedRecords()
public void setNumberOfAggregatedRecords(int numberOfAggregatedRecords)
public int getNumberOfDeaggregatedRecords()
public void setNumberOfDeaggregatedRecords(int numberOfDeaggregatedRecords)
public int getMaxNumberOfRecordsPerFetch()
public void setMaxNumberOfRecordsPerFetch(int maxNumberOfRecordsPerFetch)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.