Index

B C D E F G H I N O R S U V W 
All Classes and Interfaces|All Packages

B

build() - Method in class org.gcube.common.health.api.response.HealthCheckResponseBuilder.BuildPart
 
builder(String) - Static method in class org.gcube.common.health.api.response.HealthCheckResponse
 

C

check() - Method in interface org.gcube.common.health.api.HealthCheck
 

D

data - Variable in class org.gcube.common.health.api.response.HealthCheckResponse
Structured data of the check (values are strings, numbers, booleans or lists of them), absent when there is none.
degraded() - Method in class org.gcube.common.health.api.response.HealthCheckResponseBuilder
The check is ready but degraded, e.g. a cache not reachable while the service still works: error says why.
DEGRADED - Enum constant in enum class org.gcube.common.health.api.Status
Ready, with reduced performance or a missing part (e.g. a cache not reachable).
down() - Method in class org.gcube.common.health.api.response.HealthCheckResponseBuilder
 
DOWN - Enum constant in enum class org.gcube.common.health.api.Status
Not ready.

E

error(String) - Method in class org.gcube.common.health.api.response.HealthCheckResponseBuilder.ErrorPart
 
errorMessage - Variable in class org.gcube.common.health.api.response.HealthCheckResponse
 

F

fromValue(String) - Static method in enum class org.gcube.common.health.api.Status
Returns the status of a JSON value; the names of the constants (UP) are accepted too.

G

getData() - Method in class org.gcube.common.health.api.response.HealthCheckResponse
Returns the structured data of the check, e.g. the Contexts a service runs in.
getErrorMessage() - Method in class org.gcube.common.health.api.response.HealthCheckResponse
 
getInfo() - Method in class org.gcube.common.health.api.response.HealthCheckResponse
 
getName() - Method in interface org.gcube.common.health.api.HealthCheck
 
getName() - Method in class org.gcube.common.health.api.response.HealthCheckResponse
 
getStatus() - Method in class org.gcube.common.health.api.response.HealthCheckResponse
 

H

HealthCheck - Interface in org.gcube.common.health.api
 
HealthCheckResponse - Class in org.gcube.common.health.api.response
 
HealthCheckResponse() - Constructor for class org.gcube.common.health.api.response.HealthCheckResponse
 
HealthCheckResponseBuilder - Class in org.gcube.common.health.api.response
 
HealthCheckResponseBuilder(String) - Constructor for class org.gcube.common.health.api.response.HealthCheckResponseBuilder
 
HealthCheckResponseBuilder.BuildPart - Class in org.gcube.common.health.api.response
 
HealthCheckResponseBuilder.ErrorPart - Class in org.gcube.common.health.api.response
 
HealthCheckResponseBuilder.SuccessPart - Class in org.gcube.common.health.api.response
 

I

info - Variable in class org.gcube.common.health.api.response.HealthCheckResponse
 
info(String) - Method in class org.gcube.common.health.api.response.HealthCheckResponseBuilder.SuccessPart
 
isReady() - Method in enum class org.gcube.common.health.api.Status
Returns whether the status is ready: up or degraded.

N

name - Variable in class org.gcube.common.health.api.response.HealthCheckResponse
 
NOT_CALCULATED - Enum constant in enum class org.gcube.common.health.api.Status
Not computed yet.

O

org.gcube.common.health.api - package org.gcube.common.health.api
 
org.gcube.common.health.api.response - package org.gcube.common.health.api.response
 

R

ReadinessChecker - Annotation Interface in org.gcube.common.health.api
 

S

status - Variable in class org.gcube.common.health.api.response.HealthCheckResponse
 
Status - Enum Class in org.gcube.common.health.api
 

U

up() - Method in class org.gcube.common.health.api.response.HealthCheckResponseBuilder
 
UP - Enum constant in enum class org.gcube.common.health.api.Status
Ready.

V

value() - Method in enum class org.gcube.common.health.api.Status
Returns the value of the status in JSON, in lowerCamelCase as every enumerated value of the Information System.
valueOf(String) - Static method in enum class org.gcube.common.health.api.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.gcube.common.health.api.Status
Returns an array containing the constants of this enum class, in the order they are declared.

W

withData(String, Object) - Method in class org.gcube.common.health.api.response.HealthCheckResponseBuilder.BuildPart
Adds an entry to the structured data of the check.
B C D E F G H I N O R S U V W 
All Classes and Interfaces|All Packages