Interface LocalQueueStats

All Superinterfaces:
com.hazelcast.instance.LocalInstanceStats

public interface LocalQueueStats extends com.hazelcast.instance.LocalInstanceStats
Local queue statistics to be used by MemberState implementations.
  • Method Details

    • getOwnedItemCount

      long getOwnedItemCount()
      Returns the number of owned items in this member.
      Returns:
      number of owned items in this member.
    • getBackupItemCount

      long getBackupItemCount()
      Returns the number of backup items in this member.
      Returns:
      number of backup items in this member.
    • getMinAge

      long getMinAge()
      Returns the minimum age of the items in this member.
      Returns:
      minimum age of the items in this member
    • getMaxAge

      long getMaxAge()
      Returns the maximum age of the items in this member.
      Returns:
      maximum age of the items in this member
    • getAverageAge

      long getAverageAge()
      Returns the average age of the items in this member.
      Returns:
      average age of the items in this member
    • getOfferOperationCount

      long getOfferOperationCount()
      Returns the number of offer/put/add operations. Offers returning false will be included. #getRejectedOfferOperationCount can be used to get the rejected offers.
      Returns:
      number of offer/put/add operations
    • getRejectedOfferOperationCount

      long getRejectedOfferOperationCount()
      Returns the number of rejected offers. Offer can be rejected because of max-size limit on the queue.
      Returns:
      number of rejected offers.
    • getPollOperationCount

      long getPollOperationCount()
      Returns the number of poll/take/remove operations. Polls returning null (empty) will be included. #getEmptyPollOperationCount can be used to get the number of polls returned null.
      Returns:
      number of poll/take/remove operations.
    • getEmptyPollOperationCount

      long getEmptyPollOperationCount()
      Returns number of null returning poll operations. Poll operation might return null, if the queue is empty.
      Returns:
      number of null returning poll operations.
    • getOtherOperationsCount

      long getOtherOperationsCount()
      Returns number of other operations
      Returns:
      number of other operations
    • getEventOperationCount

      long getEventOperationCount()
      Returns number of event operations
      Returns:
      number of event operations