Class StorageFileShareHealthIndicator

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

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

    • StorageFileShareHealthIndicator

      public StorageFileShareHealthIndicator(com.azure.storage.file.share.ShareServiceAsyncClient shareServiceAsyncClient)
      Creates a new instance of StorageFileShareHealthIndicator.
      Parameters:
      shareServiceAsyncClient - the ShareServiceAsyncClient
  • 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.