Class CounterHistoryStack

  • All Implemented Interfaces:
    Iterable<long[]>

    @Deprecated(since="11.4")
    public class CounterHistoryStack
    extends Object
    implements Iterable<long[]>
    Deprecated.
    since 11.4: use dropwizard metrics instead
    Fixed length Stack that is used to store values of a counter over time
    Author:
    Tiry ([email protected])
    • Field Detail

      • list

        protected final LinkedList<long[]> list
        Deprecated.
      • maxSize

        protected final int maxSize
        Deprecated.
    • Constructor Detail

      • CounterHistoryStack

        public CounterHistoryStack​(int size)
        Deprecated.
    • Method Detail

      • push

        public void push​(long[] item)
        Deprecated.
      • get

        public long[] get​(int idx)
        Deprecated.
      • getAsList

        public LinkedList<long[]> getAsList()
        Deprecated.