Interface CounterStats

All Superinterfaces:
Counting, Stats
All Known Implementing Classes:
NoopStats, SimpleStats

@ProviderType public interface CounterStats extends Stats, Counting
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dec()
    Decrement the counter by one.
    void
    dec(long n)
    Decrement the counter by n.
    void
    inc()
    Increment the counter by one.
    void
    inc(long n)
    Increment the counter by n.

    Methods inherited from interface org.apache.jackrabbit.oak.stats.Counting

    getCount
  • Method Details

    • inc

      void inc()
      Increment the counter by one.
    • dec

      void dec()
      Decrement the counter by one.
    • inc

      void inc(long n)
      Increment the counter by n.
      Parameters:
      n - the amount by which the counter will be increased
    • dec

      void dec(long n)
      Decrement the counter by n.
      Parameters:
      n - the amount by which the counter will be decreased