Skip navigation links
A C E G H I M N O R V 

A

addValue(Long) - Method in class org.ametiste.metrics.mock.store.MetricsCount
 
addValue(MetricsType, String, long) - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 

C

clear() - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 
createEvent(String, int) - Method in class org.ametiste.metrics.mock.MockMetricsService
If this method is used after verify chain started, IllegalArgumentException is thrown

E

event(String, int) - Method in class org.ametiste.metrics.mock.aggregator.MockMetricsAggregator
If this method is used after verify chain started, IllegalArgumentException is thrown
event() - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as time update, without check number of calls and values.
event(int) - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as time update, with definite number of calls, not checking values registered.
event(List<Long>) - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as time update, with definite number of calls, with list of values provided.

G

gauge(String, int) - Method in class org.ametiste.metrics.mock.aggregator.MockMetricsAggregator
If this method is used after verify chain started, IllegalArgumentException is thrown
gauge(String, int) - Method in class org.ametiste.metrics.mock.MockMetricsService
If this method is used after verify chain started, IllegalArgumentException is thrown
gauge() - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as gauge, without check number of calls and values.
gauge(int) - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as gauge, with definite number of calls, not checking values registered.
gauge(List<Long>) - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as gauge with definite number of calls, with list of values provided.
getCount() - Method in class org.ametiste.metrics.mock.store.MetricsCount
 
getCountForValue(MetricsType, String) - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 
getValues() - Method in class org.ametiste.metrics.mock.store.MetricsCount
 
getValuesForValue(MetricsType, String) - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 

H

hasValueWithName(String) - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 
hasValueWithTypeAndName(MetricsType, String) - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 
hasValueWithTypeAndNameAndCount(MetricsType, String, int) - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 
hasValueWithTypeAndNameAndValues(MetricsType, String, List<Long>) - Method in class org.ametiste.metrics.mock.store.MockMetricsContainer
 

I

increment(String, int) - Method in class org.ametiste.metrics.mock.aggregator.MockMetricsAggregator
If this method is used after verify chain started, IllegalArgumentException is thrown
increment(String, int) - Method in class org.ametiste.metrics.mock.MockMetricsService
If this method is used after verify chain started, IllegalArgumentException is thrown
increment() - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as incremental one, without check number of calls and values.
increment(int) - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as incremental one, with definite number of calls, not checking values registered.
increment(List<Long>) - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered as incremental one, with definite number of calls, with list of values provided.

M

MetricsCount - Class in org.ametiste.metrics.mock.store
Created by Daria on 24.07.2014.
MetricsCount() - Constructor for class org.ametiste.metrics.mock.store.MetricsCount
 
MetricsType - Enum in org.ametiste.metrics.mock.store
Created by Daria on 24.07.2014.
MockMetricsAggregator - Class in org.ametiste.metrics.mock.aggregator
Mock metrics aggregator for test needs.
MockMetricsAggregator() - Constructor for class org.ametiste.metrics.mock.aggregator.MockMetricsAggregator
 
MockMetricsContainer - Class in org.ametiste.metrics.mock.store
Temporary metrics gathering storage with helper methods for easier verification Created on 24.07.2014.
MockMetricsContainer() - Constructor for class org.ametiste.metrics.mock.store.MockMetricsContainer
 
MockMetricsService - Class in org.ametiste.metrics.mock
Mock metric service for test needs.
MockMetricsService() - Constructor for class org.ametiste.metrics.mock.MockMetricsService
 
MockMetricsVerifier - Class in org.ametiste.metrics.mock
Verify chain with methods to verify specific conditions of metric registration - type of metric (count, time), number of times registered and values of registered metrics.
MockMetricsVerifier(String, MockMetricsContainer) - Constructor for class org.ametiste.metrics.mock.MockMetricsVerifier
 

N

notRegistered() - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was not registered.

O

org.ametiste.metrics.mock - package org.ametiste.metrics.mock
 
org.ametiste.metrics.mock.aggregator - package org.ametiste.metrics.mock.aggregator
 
org.ametiste.metrics.mock.store - package org.ametiste.metrics.mock.store
 

R

registered() - Method in class org.ametiste.metrics.mock.MockMetricsVerifier
Verifies metric with requested name was registered without type and numbers check
resetData() - Method in class org.ametiste.metrics.mock.aggregator.MockMetricsAggregator
Resets verified data and starts metrics gathering.
resetData() - Method in class org.ametiste.metrics.mock.MockMetricsService
Resets verified data and starts metrics gathering.

V

valueOf(String) - Static method in enum org.ametiste.metrics.mock.store.MetricsType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ametiste.metrics.mock.store.MetricsType
Returns an array containing the constants of this enum type, in the order they are declared.
verify(String) - Method in class org.ametiste.metrics.mock.aggregator.MockMetricsAggregator
Starts chain of verify calls.
verify(String) - Method in class org.ametiste.metrics.mock.MockMetricsService
Starts chain of verify calls.
A C E G H I M N O R V 
Skip navigation links