Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- binder() - Method in class io.micrometer.core.instrument.binder.cache.CacheMeterBinderCompatibilityKit
C
- cache - Variable in class io.micrometer.core.instrument.binder.cache.CacheMeterBinderCompatibilityKit
- CacheMeterBinderCompatibilityKit<C> - Class in io.micrometer.core.instrument.binder.cache
- CacheMeterBinderCompatibilityKit() - Constructor for class io.micrometer.core.instrument.binder.cache.CacheMeterBinderCompatibilityKit
- clear() - Method in class io.micrometer.core.util.internal.logging.MockLogger
-
Removes all the events that were recorded so far.
- createCache() - Method in class io.micrometer.core.instrument.binder.cache.CacheMeterBinderCompatibilityKit
-
The return value will be assigned to
CacheMeterBinderCompatibilityKit.cache.
D
- debug(String) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- debug(String, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- debug(String, Object...) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- debug(String, Object, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- debug(String, Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- debug(Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- DefaultLongTaskTimerTest - Class in io.micrometer.core.tck
- DefaultLongTaskTimerTest() - Constructor for class io.micrometer.core.tck.DefaultLongTaskTimerTest
- dereferenceCache() - Method in class io.micrometer.core.instrument.binder.cache.CacheMeterBinderCompatibilityKit
-
Performs any actions necessary to fully dereference the cache object.
E
- equals(Object) - Method in class io.micrometer.core.util.internal.logging.LogEvent
- error(String) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- error(String, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- error(String, Object...) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- error(String, Object, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- error(String, Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- error(Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- ERROR - Static variable in class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
-
Path for the route that will respond with a 500 server error to a POST method request.
G
- get(String) - Method in class io.micrometer.core.instrument.binder.cache.CacheMeterBinderCompatibilityKit
- GET - Enum constant in enum class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests.HttpMethod
- getCause() - Method in class io.micrometer.core.util.internal.logging.LogEvent
- getLevel() - Method in class io.micrometer.core.util.internal.logging.LogEvent
- getLogEvents() - Method in class io.micrometer.core.util.internal.logging.MockLogger
- getLogger(Class<?>) - Method in class io.micrometer.core.util.internal.logging.MockLoggerFactory
-
A convenient way to create a logger.
- getLogger(String) - Method in class io.micrometer.core.util.internal.logging.MockLoggerFactory
-
A convenient way to create a logger.
- getMessage() - Method in class io.micrometer.core.util.internal.logging.LogEvent
- getRegistry() - Method in class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests
-
MeterRegistryto use for instrumentation verification tests.
H
- hashCode() - Method in class io.micrometer.core.util.internal.logging.LogEvent
- httpClient() - Method in class io.micrometer.core.ipc.http.HttpSenderCompatibilityKit
- HttpClientTimingInstrumentationVerificationTests - Class in io.micrometer.core.instrument
-
Test suite for HTTP client timing instrumentation that verifies the expected metrics are registered and recorded after different scenarios.
- HttpClientTimingInstrumentationVerificationTests() - Constructor for class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests
- HttpClientTimingInstrumentationVerificationTests.HttpMethod - Enum Class in io.micrometer.core.instrument
-
HTTP Method to verify.
- httpSender - Variable in class io.micrometer.core.ipc.http.HttpSenderCompatibilityKit
- HttpSenderCompatibilityKit - Class in io.micrometer.core.ipc.http
-
A compatibility kit to verify
HttpSenderimplementations. - HttpSenderCompatibilityKit() - Constructor for class io.micrometer.core.ipc.http.HttpSenderCompatibilityKit
- HttpServerTimingInstrumentationVerificationTests - Class in io.micrometer.core.instrument
-
Verify the instrumentation of an HTTP server has the minimum expected results.
- HttpServerTimingInstrumentationVerificationTests() - Constructor for class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests
- HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes - Class in io.micrometer.core.instrument
-
Class containing constants that can be used for implementing the HTTP routes that the instrumented server needs to serve to pass the
HttpServerTimingInstrumentationVerificationTests.
I
- info(String) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- info(String, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- info(String, Object...) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- info(String, Object, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- info(String, Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- info(Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- injectLogger(Supplier<T>) - Method in class io.micrometer.core.util.internal.logging.MockLoggerFactory
-
A factory method that returns the result of the given
Supplierand also injects the default factory. - InstrumentedRoutes() - Constructor for class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
- io.micrometer.core - package io.micrometer.core
-
Support for testing.
- io.micrometer.core.instrument - package io.micrometer.core.instrument
- io.micrometer.core.instrument.binder.cache - package io.micrometer.core.instrument.binder.cache
-
Support for testing cache meter binders.
- io.micrometer.core.ipc.http - package io.micrometer.core.ipc.http
-
Support for testing
HttpSender classes. - io.micrometer.core.tck - package io.micrometer.core.tck
-
TCK for
MeterRegistry classes. - io.micrometer.core.util.internal.logging - package io.micrometer.core.util.internal.logging
-
Support for testing internal logging.
- isDebugEnabled() - Method in class io.micrometer.core.util.internal.logging.MockLogger
- isEnabled(InternalLogLevel) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- isErrorEnabled() - Method in class io.micrometer.core.util.internal.logging.MockLogger
- isInfoEnabled() - Method in class io.micrometer.core.util.internal.logging.MockLogger
- Issue - Annotation Interface in io.micrometer.core
-
Marks a test as related to a Github issue.
- isTraceEnabled() - Method in class io.micrometer.core.util.internal.logging.MockLogger
- isWarnEnabled() - Method in class io.micrometer.core.util.internal.logging.MockLogger
L
- log(InternalLogLevel, String) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- log(InternalLogLevel, String, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- log(InternalLogLevel, String, Object...) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- log(InternalLogLevel, String, Object, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- log(InternalLogLevel, String, Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- log(InternalLogLevel, Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- LogEvent - Class in io.micrometer.core.util.internal.logging
-
Simple POJO that represents a log event for test verification purposes.
- LogEvent(InternalLogLevel, String, Throwable) - Constructor for class io.micrometer.core.util.internal.logging.LogEvent
M
- MeterRegistryCompatibilityKit - Class in io.micrometer.core.tck
-
Base class for
MeterRegistrycompatibility tests. - MeterRegistryCompatibilityKit() - Constructor for class io.micrometer.core.tck.MeterRegistryCompatibilityKit
- MockLogger - Class in io.micrometer.core.util.internal.logging
-
Simple implementation of
InternalLoggerthat does not produce any output or delegate the work to another logger, instead it stores every log event in memory so that the recorded log events can be fetched and verified by tests. - MockLoggerFactory - Class in io.micrometer.core.util.internal.logging
-
Simple
InternalLoggerFactoryimplementation that always returns an instance ofMockLoggerso components that fetch the logger this way:InternalLogger logger = InternalLoggerFactory.getInstance(MyClass.class);, get aMockLoggerinstance if they are created usingfactory.injectLogger(MyClass::new)or ifInternalLoggerFactory.setDefaultFactory(mockLoggerFactory);was set previously. - MockLoggerFactory() - Constructor for class io.micrometer.core.util.internal.logging.MockLoggerFactory
N
- name() - Method in class io.micrometer.core.util.internal.logging.MockLogger
- newInstance(String) - Method in class io.micrometer.core.util.internal.logging.MockLoggerFactory
P
- POST - Enum constant in enum class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests.HttpMethod
- put(String, String) - Method in class io.micrometer.core.instrument.binder.cache.CacheMeterBinderCompatibilityKit
R
- REDIRECT - Static variable in class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
-
Path for the route that will redirect with status code 302 to the
HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes.ROOTroute. - registry - Variable in class io.micrometer.core.tck.MeterRegistryCompatibilityKit
- registry() - Method in class io.micrometer.core.tck.MeterRegistryCompatibilityKit
- ROOT - Static variable in class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
-
Path for the root route.
S
- sendHttpRequest(HttpClientTimingInstrumentationVerificationTests.HttpMethod, byte[], URI, String, String...) - Method in class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests
-
Send an HTTP request using the instrumented HTTP client to the given base URL and path on the locally running server.
- startInstrumentedServer() - Method in class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests
-
Start the instrumented HTTP server to be tested.
- step() - Method in class io.micrometer.core.tck.MeterRegistryCompatibilityKit
- stopInstrumentedServer() - Method in class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests
-
Stop the instrumented server that was started with
HttpServerTimingInstrumentationVerificationTests.startInstrumentedServer(). - substitutePathVariables(String, String...) - Method in class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests
-
Convenience method provided to substitute the template placeholders for the provided path variables.
T
- TEMPLATED_ROUTE - Static variable in class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
-
Path for the route with a path variable.
- timerName() - Method in class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests
-
A default is provided that should be preferred by new instrumentations.
- timerName() - Method in class io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests
-
A default is provided that should be preferred by new instrumentations.
- toString() - Method in class io.micrometer.core.util.internal.logging.LogEvent
- trace(String) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- trace(String, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- trace(String, Object...) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- trace(String, Object, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- trace(String, Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- trace(Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
V
- value() - Element in annotation interface io.micrometer.core.Issue
- valueOf(String) - Static method in enum class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests.HttpMethod
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.micrometer.core.instrument.HttpClientTimingInstrumentationVerificationTests.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- warn(String, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- warn(String, Object...) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- warn(String, Object, Object) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- warn(String, Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
- warn(Throwable) - Method in class io.micrometer.core.util.internal.logging.MockLogger
All Classes and Interfaces|All Packages|Constant Field Values