Class MeterPartition
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<java.util.List<Meter>>
-
- io.micrometer.core.instrument.util.MeterPartition
-
-
Constructor Summary
Constructors Constructor Description MeterPartition(MeterRegistry registry, int partitionSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Meter>
get(int index)
boolean
isEmpty()
static java.util.List<java.util.List<Meter>>
partition(MeterRegistry registry, int partitionSize)
int
size()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
MeterPartition
public MeterPartition(MeterRegistry registry, int partitionSize)
-
-
Method Detail
-
partition
public static java.util.List<java.util.List<Meter>> partition(MeterRegistry registry, int partitionSize)
-
get
public java.util.List<Meter> get(int index)
-
size
public int size()
-
-