public class VisorBaselineTaskResult extends VisorDataTransferObject
VisorBaselineTask.V1, V2, V3| Constructor and Description |
|---|
VisorBaselineTaskResult()
Default constructor.
|
VisorBaselineTaskResult(boolean active,
long topVer,
Collection<? extends BaselineNode> baseline,
Collection<? extends BaselineNode> servers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,VisorBaselineNode> |
getBaseline() |
Map<String,VisorBaselineNode> |
getServers() |
long |
getTopologyVersion() |
boolean |
isActive() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorBaselineTaskResult()
public VisorBaselineTaskResult(boolean active,
long topVer,
Collection<? extends BaselineNode> baseline,
Collection<? extends BaselineNode> servers)
active - Cluster state.topVer - Current topology version.baseline - Current baseline nodes.servers - Current server nodes.public boolean isActive()
public long getTopologyVersion()
public Map<String,VisorBaselineNode> getBaseline()
public Map<String,VisorBaselineNode> getServers()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018