Class 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 Detail

      • HealthResponse

        public HealthResponse()
    • 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)