com.hazelcast.monitor

## Interface LocalPNCounterStats

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

      public interface LocalPNCounterStats
      extends LocalInstanceStats

  Statistics for a single PN counter. The statistics are local to this member.

- - ### 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` | `getTotalDecrementOperationCount()` Returns the total number of subtract (including decrement) operations on this PN counter on this member.
    `long` | `getTotalIncrementOperationCount()` Returns the total number of add (including increment) operations on this PN counter on this member.
    `long` | `getValue()` Returns the current value of this PN counter

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

      `getCreationTime`

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

      `fromJson, toJson`

- - ### Method Detail

    - #### getValue

          long getValue()

      Returns the current value of this PN counter

    - #### getTotalIncrementOperationCount

          long getTotalIncrementOperationCount()

      Returns the total number of add (including increment) operations on this PN counter on this member.

    - #### getTotalDecrementOperationCount

          long getTotalDecrementOperationCount()

      Returns the total number of subtract (including decrement) operations on this PN counter on this member.

Copyright © 2018. All rights reserved.