public class ProtectionDomainTolerance
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProtectionDomainTolerance.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ProtectionDomainTolerance() |
ProtectionDomainTolerance(java.lang.Long sustainableFailuresForEnsemble,
ProtectionSchemeTolerance[] protectionSchemeTolerances) |
Modifier and Type | Method and Description |
---|---|
ProtectionDomainTolerance.Builder |
asBuilder() |
static ProtectionDomainTolerance.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
ProtectionSchemeTolerance[] |
getProtectionSchemeTolerances()
List of objects detailing failure tolerance information for the associated
ProtectionDomainType, one for each Protection Scheme.
|
java.lang.Long |
getSustainableFailuresForEnsemble()
The number of simultaneous failures of the associated ProtectionDomainType which
can occur without losing the ensemble quorum.
|
int |
hashCode() |
void |
setProtectionSchemeTolerances(ProtectionSchemeTolerance[] protectionSchemeTolerances) |
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 ProtectionDomainTolerance(java.lang.Long sustainableFailuresForEnsemble, ProtectionSchemeTolerance[] protectionSchemeTolerances)
public java.lang.Long getSustainableFailuresForEnsemble()
public void setSustainableFailuresForEnsemble(java.lang.Long sustainableFailuresForEnsemble)
public ProtectionSchemeTolerance[] getProtectionSchemeTolerances()
public void setProtectionSchemeTolerances(ProtectionSchemeTolerance[] protectionSchemeTolerances)
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 ProtectionDomainTolerance.Builder builder()
public final ProtectionDomainTolerance.Builder asBuilder()