Class PersistenceTimeoutReadinessCheck

  • All Implemented Interfaces:
    org.eclipse.microprofile.health.HealthCheck

    @ApplicationScoped
    @Liveness
    @Default
    public class PersistenceTimeoutReadinessCheck
    extends AbstractErrorCounterHealthCheck
    implements org.eclipse.microprofile.health.HealthCheck
    Fail readiness check if the duration of processing a artifactStore operation is too high.
    Author:
    Jakub Senko 'jsenko@redhat.com'
    • Constructor Detail

      • PersistenceTimeoutReadinessCheck

        public PersistenceTimeoutReadinessCheck()
    • Method Detail

      • call

        public org.eclipse.microprofile.health.HealthCheckResponse call()
        Specified by:
        call in interface org.eclipse.microprofile.health.HealthCheck
      • getTimeoutSec

        public Duration getTimeoutSec()