javax.management.j2ee.statistics

## Interface JMSEndpointStats

- All Superinterfaces:
    Stats
  All Known Subinterfaces:
    JMSConsumerStats, JMSProducerStats

      public interface JMSEndpointStats
      extends Stats

  Specifies the statistics provided by a JMS message producer or a JMS message consumer.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CountStatistic` | `getExpiredMessageCount()` Number of messages that expired before delivery.
    `CountStatistic` | `getMessageCount()` Number of messages sent or received.
    `TimeStatistic` | `getMessageWaitTime()` Time spent by a message before being delivered.
    `CountStatistic` | `getPendingMessageCount()` Number of pending messages.

    - ### Methods inherited from interface javax.management.j2ee.statistics.Stats

      `getStatistic, getStatisticNames, getStatistics`

- - ### Method Detail

    - #### getMessageCount

          CountStatistic getMessageCount()

      Number of messages sent or received.

    - #### getPendingMessageCount

          CountStatistic getPendingMessageCount()

      Number of pending messages.

    - #### getExpiredMessageCount

          CountStatistic getExpiredMessageCount()

      Number of messages that expired before delivery.

    - #### getMessageWaitTime

          TimeStatistic getMessageWaitTime()

      Time spent by a message before being delivered.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.