Interface ExecutorServiceSupplierObserver.MethodInvocation

  • Enclosing interface:
    ExecutorServiceSupplierObserver

    public static interface ExecutorServiceSupplierObserver.MethodInvocation
    Information about method invocations to retrieve interesting (e.g., metrics) values from an executor service.

    Used for dealing with ThreadPerTaskExecutor executor services which might not exist in every JDK we support.

    • 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:
        Method which returns the value.
      • type

        Class<?> type()
        Returns the data type of the interesting value.
        Returns:
        the type