Package com.intergral.deep.agent.api.spi
Interface Ordered
-
- All Known Subinterfaces:
ConditionalResourceProvider
,IDeepPlugin
,ResourceProvider
- All Known Implementing Classes:
BasicAuthProvider
,CFPlugin
,EnvironmentResourceProvider
,JavaPlugin
,JavaResourceDetector
,MyPlugin
,OtelPlugin
,PrometheusMetricsPlugin
,TracepointLogger
public interface Ordered
Interface to be extended by SPIs that need to guarantee ordering during loading.- Since:
- 1.17.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
order()
Returns the order of applying the SPI implementing this interface.
-
-
-
Method Detail
-
order
default int order()
Returns the order of applying the SPI implementing this interface. Higher values are applied later, for example: an SPI with order=1 will run after an SPI with order=0. SPI implementations with equal values will be run in a non-deterministic order.- Returns:
- the order value
-
-