public interface Metrics
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DISABLE_METRICS_PROPERTY_NAME  | 
static boolean | 
METRICS_ENABLED  | 
| Modifier and Type | Method and Description | 
|---|---|
default void | 
close()
Used to close out the metrics, for example when an http server/client has been closed.
 No specific thread and context can be expected when this method is called. 
 | 
default boolean | 
isEnabled()
Deprecated. 
 
the SPI metrics should instead return a  
null object to signal that metrics is not provided | 
static final String DISABLE_METRICS_PROPERTY_NAME
static final boolean METRICS_ENABLED
@Deprecated default boolean isEnabled()
null object to signal that metrics is not provideddefault void close()
Copyright © 2020 Eclipse. All rights reserved.