public class SpaceHealthStatus extends Object implements Externalizable
Constructor and Description |
---|
SpaceHealthStatus()
For Externalizable purposes
|
SpaceHealthStatus(Throwable[] healthIssueErrors)
Constructs a new space health status object
|
Modifier and Type | Method and Description |
---|---|
SpaceUnhealthyException |
getUnhealthyReason()
Returns an exception representing why the space is unhealthy or null if it is healthy
|
boolean |
isHealthy()
Gets whether the space is unhealthy
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public SpaceHealthStatus()
public SpaceHealthStatus(Throwable[] healthIssueErrors)
healthIssueErrors
- errors representing why the space is unhealthypublic boolean isHealthy()
public SpaceUnhealthyException getUnhealthyReason()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © GigaSpaces.