Package com.linecorp.armeria.spring
Interface HealthCheckServiceConfigurator
- All Superinterfaces:
Ordered
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface used to configure a
HealthCheckService on the default Armeria server.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
-
Method Details
-
configure
void configure(com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder healthCheckServiceBuilder) Configures theHealthCheckServiceusing the specifiedHealthCheckServiceBuilder. -
getOrder
default int getOrder()Returns the evaluation order of this configurator. A user can specify the order with anOrderannotation when defining a bean with aBeanannotation.Note that the default value of the
Orderannotation isOrdered.LOWEST_PRECEDENCEwhich equals toInteger.MAX_VALUE, but it is overridden to0by this default method.
-