Class CounterHistoryStack
- java.lang.Object
-
- org.nuxeo.runtime.management.counters.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 insteadFixed length Stack that is used to store values of a counter over time- Author:
- Tiry (tdelprat@nuxeo.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected LinkedList<long[]>
list
Deprecated.protected int
maxSize
Deprecated.
-
Constructor Summary
Constructors Constructor Description CounterHistoryStack(int size)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long[]
get(int idx)
Deprecated.LinkedList<long[]>
getAsList()
Deprecated.Iterator<long[]>
iterator()
Deprecated.void
push(long[] item)
Deprecated.String
toString()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
list
protected final LinkedList<long[]> list
Deprecated.
-
maxSize
protected final int maxSize
Deprecated.
-
-
Constructor Detail
-
CounterHistoryStack
public CounterHistoryStack(int size)
Deprecated.
-
-