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
Modifier and TypeMethodDescriptionvoid
configure
(HealthCheckServiceBuilder healthCheckServiceBuilder) Configures theHealthCheckService
using the specifiedHealthCheckServiceBuilder
.default int
getOrder()
Returns the evaluation order of this configurator.
-
Method Details
-
configure
Configures theHealthCheckService
using the specifiedHealthCheckServiceBuilder
. -
getOrder
default int getOrder()Returns the evaluation order of this configurator. A user can specify the order with anOrder
annotation when defining a bean with aBean
annotation.Note that the default value of the
Order
annotation isOrdered.LOWEST_PRECEDENCE
which equals toInteger.MAX_VALUE
, but it is overridden to0
by this default method.
-