Class CreateTempFileCheck

  • All Implemented Interfaces:
    org.gcube.common.health.api.HealthCheck

    public class CreateTempFileCheck
    extends Object
    implements org.gcube.common.health.api.HealthCheck
    this class is used to add checks about components used by the service (DB, external FS, other services etc. ) and automatically exposed using the REST method webapp/gcube/resources/health
    Author:
    lucio
    • Constructor Detail

      • CreateTempFileCheck

        public CreateTempFileCheck()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.gcube.common.health.api.HealthCheck
      • check

        public org.gcube.common.health.api.response.HealthCheckResponse check()
        Specified by:
        check in interface org.gcube.common.health.api.HealthCheck