Skip navigation links
B C E F G H I M O P R S T V 

B

Batcher - Class in org.hawkular.metrics.client.common
Just a helper
BoundMetricFifo - Class in org.hawkular.metrics.client.common
A Fifo with a fixed maximum size.
BoundMetricFifo(int, int) - Constructor for class org.hawkular.metrics.client.common.BoundMetricFifo
Create a new Fifo with an initial internal capacity of initialSize and a maximum capacity of maxSize.

C

cleanout(SingleMetric) - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
Remove the single passed metric from the fifo
cleanout(Collection<SingleMetric>) - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
Remove the collection of passed metrics from the fifo.

E

equals(Object) - Method in class org.hawkular.metrics.client.common.SingleMetric
 

F

from(String) - Static method in enum org.hawkular.metrics.client.common.MetricType
 

G

getList() - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
Retrieve a copy of the current items in the fifo.
getMetricType() - Method in class org.hawkular.metrics.client.common.SingleMetric
 
getSource() - Method in class org.hawkular.metrics.client.common.SingleMetric
 
getTimestamp() - Method in class org.hawkular.metrics.client.common.SingleMetric
 
getValue() - Method in class org.hawkular.metrics.client.common.SingleMetric
 

H

hashCode() - Method in class org.hawkular.metrics.client.common.SingleMetric
 

I

insert(SingleMetric) - Method in class org.hawkular.metrics.client.common.MetricBuffer
Inserts a new element in this buffer.
iterator() - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
 

M

MetricBuffer - Class in org.hawkular.metrics.client.common
A FIFO buffer with fixed capacity.
MetricBuffer(int) - Constructor for class org.hawkular.metrics.client.common.MetricBuffer
Creates a new buffer with fixed capacity.
metricListToJson(Collection<SingleMetric>) - Static method in class org.hawkular.metrics.client.common.Batcher
Translate the passed collection of metrics into a JSON representation
MetricType - Enum in org.hawkular.metrics.client.common
Type of the metric

O

offer(SingleMetric) - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
Add an object to the Fifo.
org.hawkular.metrics.client.common - package org.hawkular.metrics.client.common
 

P

peek() - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
 
poll() - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
 

R

reInsert(List<SingleMetric>) - Method in class org.hawkular.metrics.client.common.MetricBuffer
Re-inserts a batch previously removed with remove(int).
remainingCapacity() - Method in class org.hawkular.metrics.client.common.MetricBuffer
 
remove(int) - Method in class org.hawkular.metrics.client.common.MetricBuffer
Retrieves and removes the oldest elements in this buffer.

S

SingleMetric - Class in org.hawkular.metrics.client.common
One single metric
SingleMetric(String, long, Double) - Constructor for class org.hawkular.metrics.client.common.SingleMetric
 
SingleMetric(String, long, Double, MetricType) - Constructor for class org.hawkular.metrics.client.common.SingleMetric
 
size() - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
 
size() - Method in class org.hawkular.metrics.client.common.MetricBuffer
 

T

toJson() - Method in class org.hawkular.metrics.client.common.SingleMetric
 
toString() - Method in class org.hawkular.metrics.client.common.SingleMetric
 

V

valueOf(String) - Static method in enum org.hawkular.metrics.client.common.MetricType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hawkular.metrics.client.common.MetricType
Returns an array containing the constants of this enum type, in the order they are declared.
B C E F G H I M O P R S T V 
Skip navigation links

Copyright © 2014–2017 Red Hat, Inc.. All rights reserved.