Class HealthResponse
- java.lang.Object
-
- de.stklcode.jvault.connector.model.response.HealthResponse
-
- All Implemented Interfaces:
VaultResponse
public final class HealthResponse extends Object implements VaultResponse
Vault response for health query.- Since:
- 0.7.0
- Author:
- Stefan Kalscheuer
-
-
Constructor Summary
Constructors Constructor Description HealthResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClusterID()
String
getClusterName()
String
getReplicationDrMode()
String
getReplicationPerfMode()
Long
getServerTimeUTC()
String
getVersion()
Boolean
isInitialized()
Boolean
isPerformanceStandby()
Boolean
isSealed()
Boolean
isStandby()
-
-
-
Method Detail
-
getClusterID
public String getClusterID()
- Returns:
- The Cluster ID.
-
getClusterName
public String getClusterName()
- Returns:
- The Cluster name.
-
getVersion
public String getVersion()
- Returns:
- Vault version.
-
getServerTimeUTC
public Long getServerTimeUTC()
- Returns:
- Server time UTC (timestamp).
-
isStandby
public Boolean isStandby()
- Returns:
- Server standby status.
-
isSealed
public Boolean isSealed()
- Returns:
- Server seal status.
-
isInitialized
public Boolean isInitialized()
- Returns:
- Server initialization status.
-
getReplicationPerfMode
public String getReplicationPerfMode()
- Returns:
- Replication performance mode of the active node (since Vault 0.9.2).
- Since:
- 0.8 (#21)
-
getReplicationDrMode
public String getReplicationDrMode()
- Returns:
- Replication DR mode of the active node (since Vault 0.9.2).
- Since:
- 0.8 (#21)
-
isPerformanceStandby
public Boolean isPerformanceStandby()
- Returns:
- Performance standby status.
- Since:
- 0.8 (#21)
-
-