public class ProtectionDomainResiliency
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProtectionDomainResiliency.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ProtectionDomainResiliency() |
ProtectionDomainResiliency(java.lang.Long sustainableFailuresForEnsemble,
java.lang.Long singleFailureThresholdBytesForBlockData,
ProtectionSchemeResiliency[] protectionSchemeResiliencies) |
Modifier and Type | Method and Description |
---|---|
ProtectionDomainResiliency.Builder |
asBuilder() |
static ProtectionDomainResiliency.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
ProtectionSchemeResiliency[] |
getProtectionSchemeResiliencies()
List of objects detailing failure resiliency information for the associated
ProtectionDomainType, one for each Protection Scheme.
|
java.lang.Long |
getSingleFailureThresholdBytesForBlockData()
The maximum number of bytes that can be stored on the cluster before losing
the ability to automatically heal to where the data has Node Tolerance.
|
java.lang.Long |
getSustainableFailuresForEnsemble()
The predicted number of simultaneous failures which may occur without losing
the ability to automatically heal to where the Ensemble Quorum has Node
Tolerance.
|
int |
hashCode() |
void |
setProtectionSchemeResiliencies(ProtectionSchemeResiliency[] protectionSchemeResiliencies) |
void |
setSingleFailureThresholdBytesForBlockData(java.lang.Long singleFailureThresholdBytesForBlockData) |
void |
setSustainableFailuresForEnsemble(java.lang.Long sustainableFailuresForEnsemble) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ProtectionDomainResiliency(java.lang.Long sustainableFailuresForEnsemble, java.lang.Long singleFailureThresholdBytesForBlockData, ProtectionSchemeResiliency[] protectionSchemeResiliencies)
public java.lang.Long getSustainableFailuresForEnsemble()
public void setSustainableFailuresForEnsemble(java.lang.Long sustainableFailuresForEnsemble)
public java.lang.Long getSingleFailureThresholdBytesForBlockData()
public void setSingleFailureThresholdBytesForBlockData(java.lang.Long singleFailureThresholdBytesForBlockData)
public ProtectionSchemeResiliency[] getProtectionSchemeResiliencies()
public void setProtectionSchemeResiliencies(ProtectionSchemeResiliency[] protectionSchemeResiliencies)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static ProtectionDomainResiliency.Builder builder()
public final ProtectionDomainResiliency.Builder asBuilder()