public static class KafkaUtils.KafkaOffsetMetric extends java.lang.Object implements IMetric
Constructor and Description |
---|
KafkaOffsetMetric(DynamicPartitionConnections connections) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValueAndReset() |
void |
refreshPartitions(java.util.Set<Partition> newPartitions) |
void |
setOffsetData(Partition partition,
PartitionManager.OffsetData offsetData) |
public KafkaOffsetMetric(DynamicPartitionConnections connections)
public void setOffsetData(Partition partition, PartitionManager.OffsetData offsetData)
public java.lang.Object getValueAndReset()
getValueAndReset
in interface IMetric
public void refreshPartitions(java.util.Set<Partition> newPartitions)