com.hazelcast.monitor

## Interface LocalTopicStats

- All Superinterfaces:
    com.hazelcast.internal.management.JsonSerializable, LocalInstanceStats

      public interface LocalTopicStats
      extends LocalInstanceStats

  Local topic statistics to be used by `MemberState` implementations.

- - ### Field Summary

    - ### Fields inherited from interface com.hazelcast.monitor.LocalInstanceStats

      `STAT_NOT_AVAILABLE`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getCreationTime()` Returns the creation time of this topic on this member
    `long` | `getPublishOperationCount()` Returns the total number of published messages of this topic on this member
    `long` | `getReceiveOperationCount()` Returns the total number of received messages of this topic on this member

    - ### Methods inherited from interface com.hazelcast.internal.management.JsonSerializable

      `fromJson, toJson`

- - ### Method Detail

    - #### getCreationTime

          long getCreationTime()

      Returns the creation time of this topic on this member
      Specified by:
        `getCreationTime` in interface `LocalInstanceStats`
      Returns:
        creation time of this topic on this member

    - #### getPublishOperationCount

          long getPublishOperationCount()

      Returns the total number of published messages of this topic on this member
      Returns:
        total number of published messages of this topic on this member

    - #### getReceiveOperationCount

          long getReceiveOperationCount()

      Returns the total number of received messages of this topic on this member
      Returns:
        total number of received messages of this topic on this member

Copyright © 2020. All rights reserved.