Interface ExecutorServiceSupplierObserver.MethodInvocation
-
- Enclosing interface:
- ExecutorServiceSupplierObserver
public static interface ExecutorServiceSupplierObserver.MethodInvocationInformation about method invocations to retrieve interesting (e.g., metrics) values from an executor service.Used for dealing with
ThreadPerTaskExecutorexecutor services which might not exist in every JDK we support.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringdescription()Returns a brief description of the interesting value.StringdisplayName()Returns a displayable name for the value.Methodmethod()Returns the method to invoke to retrieve the value.Class<?>type()Returns the data type of the interesting value.
-
-
-
Method Detail
-
displayName
String displayName()
Returns a displayable name for the value.- Returns:
- display name for the value
-
description
String description()
Returns a brief description of the interesting value.- Returns:
- description
-
method
Method method()
Returns the method to invoke to retrieve the value.- Returns:
Methodwhich returns the value.
-
type
Class<?> type()
Returns the data type of the interesting value.- Returns:
- the type
-
-