Class IntervalCheck
java.lang.Object
de.codecentric.boot.admin.server.services.IntervalCheck
Calls the checkFn for all instances in the given time, but not before the given
retention time has passed. The instances which will be checked have to be registered
via `markAsChecked`.
- Author:
- Johannes Edmeier
-
Constructor Summary
ConstructorsConstructorDescriptionIntervalCheck(String name, Function<InstanceId, reactor.core.publisher.Mono<Void>> checkFn, Duration interval, Duration minRetention, Duration maxBackoff) -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>voidmarkAsChecked(InstanceId instanceId) voidstart()voidstop()
-
Constructor Details
-
IntervalCheck
-
-
Method Details
-
start
public void start() -
markAsChecked
-
checkAllInstances
-
stop
public void stop()
-