Package org.apache.pulsar.compaction
Class CompactorMXBeanImpl
java.lang.Object
org.apache.pulsar.compaction.CompactorMXBeanImpl
- All Implemented Interfaces:
CompactorMXBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompactionEndOp(String topic, boolean succeed) voidaddCompactionLatencyOp(String topic, long latency, TimeUnit unit) voidaddCompactionReadOp(String topic, long readableBytes) voidaddCompactionRemovedEvent(String topic) voidaddCompactionStartOp(String topic) voidaddCompactionWriteOp(String topic, long writeableBytes) Get the compaction record of the topic.voidremoveTopic(String topic) Remove metrics about this topic.voidreset()
-
Constructor Details
-
CompactorMXBeanImpl
public CompactorMXBeanImpl()
-
-
Method Details
-
addCompactionRemovedEvent
-
addCompactionStartOp
-
addCompactionEndOp
-
removeTopic
Description copied from interface:CompactorMXBeanRemove metrics about this topic.- Specified by:
removeTopicin interfaceCompactorMXBean
-
getCompactionRecordForTopic
Description copied from interface:CompactorMXBeanGet the compaction record of the topic.- Specified by:
getCompactionRecordForTopicin interfaceCompactorMXBean
-
getTopics
-
reset
public void reset() -
addCompactionReadOp
-
addCompactionWriteOp
-
addCompactionLatencyOp
-