public class CacheDistributionNode extends VisorDataTransferObject
V1, V2, V3, V4| Constructor and Description |
|---|
CacheDistributionNode()
Default constructor.
|
CacheDistributionNode(UUID nodeId,
String addrs,
Map<String,String> userAttrs,
List<CacheDistributionGroup> groups) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddresses() |
List<CacheDistributionGroup> |
getGroups() |
UUID |
getNodeId() |
Map<String,String> |
getUserAttributes() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
void |
setAddresses(String addrs) |
void |
setGroups(List<CacheDistributionGroup> groups) |
void |
setNodeId(UUID nodeId) |
void |
setUserAttributes(Map<String,String> userAttrs) |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic UUID getNodeId()
public void setNodeId(UUID nodeId)
public String getAddresses()
public void setAddresses(String addrs)
public void setUserAttributes(Map<String,String> userAttrs)
userAttrs - New user attribute in result.public List<CacheDistributionGroup> getGroups()
public void setGroups(List<CacheDistributionGroup> groups)
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 Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021