Package org.apache.druid.server.metrics
Interface EventReceiverFirehoseMetric
-
- All Known Implementing Classes:
EventReceiverFirehoseFactory.EventReceiverFirehose
public interface EventReceiverFirehoseMetricAn EventReceiverFirehoseMetric is an object with metrics about EventReceiverFirehose objects. It is not likely that anything other than an EventReceiverFirehose actually implements this. This interface is not part of the public API and backwards incompatible changes can occur without requiring a major (or even minor) version change. The interface's primary purpose is to be able to share metrics via the EventReceiverFirehoseRegister without exposing the entire EventReceiverFirehose
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBytesReceived()Return the number of bytes received by the firehose.intgetCapacity()Return the capacity of the buffer.intgetCurrentBufferSize()Return the current number ofInputRowthat are stored in the buffer.
-