Class TopicPartitionIngestionInfo
java.lang.Object
com.linkedin.davinci.kafka.consumer.TopicPartitionIngestionInfo
-
Constructor Summary
ConstructorDescriptionTopicPartitionIngestionInfo
(long latestOffset, long offsetLag, double msgRate, double byteRate, String consumerIdStr, long elapsedTimeSinceLastPollInMs, String versionTopicName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
long
long
double
long
int
hashCode()
void
setByteRate
(double byteRate) void
setConsumerIdStr
(String consumerIdStr) void
setElapsedTimeSinceLastPollInMs
(long elapsedTimeSinceLastPollInMs) void
setMsgRate
(double msgRate) void
setOffsetLag
(long offsetLag) void
setVersionTopicName
(String versionTopicName) toString()
-
Constructor Details
-
TopicPartitionIngestionInfo
-
-
Method Details
-
getLatestOffset
public long getLatestOffset() -
getOffsetLag
public long getOffsetLag() -
setOffsetLag
public void setOffsetLag(long offsetLag) -
getMsgRate
public double getMsgRate() -
setMsgRate
public void setMsgRate(double msgRate) -
getByteRate
public double getByteRate() -
setByteRate
public void setByteRate(double byteRate) -
getConsumerIdStr
-
setConsumerIdStr
-
getElapsedTimeSinceLastPollInMs
public long getElapsedTimeSinceLastPollInMs() -
setElapsedTimeSinceLastPollInMs
public void setElapsedTimeSinceLastPollInMs(long elapsedTimeSinceLastPollInMs) -
getVersionTopicName
-
setVersionTopicName
-
equals
-
hashCode
public int hashCode() -
toString
-