Package org.codelibs.fess.entity
Class PingResponse
java.lang.Object
org.codelibs.fess.entity.PingResponse
Response entity for ping operations.
-
Constructor Summary
ConstructorsConstructorDescriptionPingResponse(org.opensearch.action.admin.cluster.health.ClusterHealthResponse response) Creates a ping response from cluster health response. -
Method Summary
Modifier and TypeMethodDescriptionGets the cluster name.Gets the cluster status.Gets the message.intGets the status.
-
Constructor Details
-
PingResponse
public PingResponse(org.opensearch.action.admin.cluster.health.ClusterHealthResponse response) Creates a ping response from cluster health response.- Parameters:
response- the cluster health response
-
-
Method Details
-
getStatus
public int getStatus()Gets the status.- Returns:
- the status
-
getClusterName
Gets the cluster name.- Returns:
- the cluster name
-
getClusterStatus
Gets the cluster status.- Returns:
- the cluster status
-
getMessage
Gets the message.- Returns:
- the message
-