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

A

addHeaders(Map<String, String>) - Method in interface org.hawkular.metrics.client.common.http.HawkularHttpClient
 
addHeaders(Map<String, String>) - Method in class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 

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

getBearerToken() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getContent() - Method in class org.hawkular.metrics.client.common.http.HawkularHttpResponse
 
getErrorMsg() - Method in class org.hawkular.metrics.client.common.http.HawkularHttpResponse
 
getFailoverCacheDuration() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getFailoverCacheMaxSize() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getFailoverCacheSize() - Method in class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 
getGlobalTags() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getHeaders() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
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
 
getPassword() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getPerMetricTags() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getPrefix() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getResponseCode() - Method in class org.hawkular.metrics.client.common.http.HawkularHttpResponse
 
getSource() - Method in class org.hawkular.metrics.client.common.SingleMetric
 
getTenant() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getTimestamp() - Method in class org.hawkular.metrics.client.common.SingleMetric
 
getUri() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getUsername() - Method in interface org.hawkular.metrics.client.common.HawkularClientConfig
 
getValue() - Method in class org.hawkular.metrics.client.common.SingleMetric
 

H

hashCode() - Method in class org.hawkular.metrics.client.common.SingleMetric
 
HawkularClientConfig - Interface in org.hawkular.metrics.client.common
 
HawkularHttpClient - Interface in org.hawkular.metrics.client.common.http
Http client interface for Hawkular, in case someone would like to use other than the default one
HawkularHttpResponse - Class in org.hawkular.metrics.client.common.http
Minimalist and API-agnostic response wrapper
HawkularHttpResponse(String, int) - Constructor for class org.hawkular.metrics.client.common.http.HawkularHttpResponse
 
HawkularHttpResponse(String, int, String) - Constructor for class org.hawkular.metrics.client.common.http.HawkularHttpResponse
 
HawkularJson - Class in org.hawkular.metrics.client.common.http
Some Json utility for Hawkular data model

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
 

J

JdkHawkularHttpClient - Class in org.hawkular.metrics.client.common.http
Default implementation of HawkularHttpClient, using the JDK HTTP client.
JdkHawkularHttpClient(String) - Constructor for class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 

M

manageFailover() - Method in interface org.hawkular.metrics.client.common.http.HawkularHttpClient
 
manageFailover() - Method in class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 
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
metricsToString(Long, Map<String, Long>, Map<String, Double>) - Static method in class org.hawkular.metrics.client.common.http.HawkularJson
 
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
 
org.hawkular.metrics.client.common.http - package org.hawkular.metrics.client.common.http
 

P

peek() - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
 
poll() - Method in class org.hawkular.metrics.client.common.BoundMetricFifo
 
postMetrics(String) - Method in interface org.hawkular.metrics.client.common.http.HawkularHttpClient
 
postMetrics(String) - Method in class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 
putTags(String, String, String) - Method in interface org.hawkular.metrics.client.common.http.HawkularHttpClient
 
putTags(String, String, String) - Method in class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 

R

readMetric(String, String) - Method in class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 
reInsert(List<SingleMetric>) - Method in class org.hawkular.metrics.client.common.MetricBuffer
Re-inserts a batch previously removed with MetricBuffer.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

setFailoverOptions(Optional<Long>, Optional<Integer>) - Method in interface org.hawkular.metrics.client.common.http.HawkularHttpClient
 
setFailoverOptions(Optional<Long>, Optional<Integer>) - Method in class org.hawkular.metrics.client.common.http.JdkHawkularHttpClient
 
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

tagsToString(Map<String, String>) - Static method in class org.hawkular.metrics.client.common.http.HawkularJson
 
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.
A B C E F G H I J M O P R S T V 
Skip navigation links

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