Package org.gcube.service.idm.health
Class CreateTempFileCheck
- java.lang.Object
-
- org.gcube.service.idm.health.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 Summary
Constructors Constructor Description CreateTempFileCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.common.health.api.response.HealthCheckResponsecheck()StringgetName()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.gcube.common.health.api.HealthCheck
-
check
public org.gcube.common.health.api.response.HealthCheckResponse check()
- Specified by:
checkin interfaceorg.gcube.common.health.api.HealthCheck
-
-