| Modifier and Type | Method and Description |
|---|---|
SingleMetric |
BoundMetricFifo.peek() |
SingleMetric |
BoundMetricFifo.poll() |
| Modifier and Type | Method and Description |
|---|---|
List<SingleMetric> |
BoundMetricFifo.getList()
Retrieve a copy of the current items in the fifo.
|
Iterator<SingleMetric> |
BoundMetricFifo.iterator() |
List<SingleMetric> |
MetricBuffer.remove(int batchSize)
Retrieves and removes the oldest elements in this buffer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundMetricFifo.cleanout(SingleMetric metric)
Remove the single passed metric from the fifo
|
void |
MetricBuffer.insert(SingleMetric metric)
Inserts a new element in this buffer.
|
boolean |
BoundMetricFifo.offer(SingleMetric singleMetric)
Add an object to the Fifo.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundMetricFifo.cleanout(Collection<SingleMetric> metrics)
Remove the collection of passed metrics from the fifo.
|
static String |
Batcher.metricListToJson(Collection<SingleMetric> metrics)
Translate the passed collection of metrics into a JSON representation
|
void |
MetricBuffer.reInsert(List<SingleMetric> metrics)
Re-inserts a batch previously removed with
MetricBuffer.remove(int). |
Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.