Interface EventReceiverFirehoseMetric

  • All Known Implementing Classes:
    EventReceiverFirehoseFactory.EventReceiverFirehose

    public interface EventReceiverFirehoseMetric
    An 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 Detail

      • getCurrentBufferSize

        int getCurrentBufferSize()
        Return the current number of InputRow that are stored in the buffer.
      • getCapacity

        int getCapacity()
        Return the capacity of the buffer.
      • getBytesReceived

        long getBytesReceived()
        Return the number of bytes received by the firehose.