Class StorageQueueHealthIndicator

java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
com.azure.spring.cloud.actuator.storage.StorageQueueHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

public class StorageQueueHealthIndicator extends org.springframework.boot.actuate.health.AbstractHealthIndicator
Health indicator for file storage.
  • Constructor Summary

    Constructors
    Constructor
    Description
    StorageQueueHealthIndicator(com.azure.storage.queue.QueueServiceAsyncClient queueServiceClient)
    Creates a new instance of StorageQueueHealthIndicator.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
     
    void
    Set health check request timeout.

    Methods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator

    health

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.boot.actuate.health.HealthIndicator

    getHealth
  • Constructor Details

    • StorageQueueHealthIndicator

      public StorageQueueHealthIndicator(com.azure.storage.queue.QueueServiceAsyncClient queueServiceClient)
      Creates a new instance of StorageQueueHealthIndicator.
      Parameters:
      queueServiceClient - the queue service client
  • Method Details

    • doHealthCheck

      protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
      Specified by:
      doHealthCheck in class org.springframework.boot.actuate.health.AbstractHealthIndicator
    • setTimeout

      public void setTimeout(Duration timeout)
      Set health check request timeout.
      Parameters:
      timeout - the duration value.