public class GridClientNodeBean extends Object implements Externalizable
| Constructor and Description |
|---|
GridClientNodeBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,Object> |
getAttributes()
Gets attributes.
|
Map<String,String> |
getCaches()
Gets configured node caches.
|
Object |
getConsistentId() |
String |
getDefaultCacheMode()
Gets mode for cache with null name.
|
GridClientNodeMetricsBean |
getMetrics()
Gets metrics.
|
UUID |
getNodeId()
Gets node ID.
|
Collection<String> |
getTcpAddresses()
Gets REST TCP server addresses.
|
Collection<String> |
getTcpHostNames()
Gets REST TCP server host names.
|
int |
getTcpPort()
Gets REST binary protocol port.
|
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setAttributes(Map<String,Object> attrs)
Sets attributes.
|
void |
setCaches(Map<String,String> caches)
Sets configured node caches.
|
void |
setConsistentId(Object consistentId) |
void |
setDefaultCacheMode(String dfltCacheMode)
Sets mode for default cache.
|
void |
setMetrics(GridClientNodeMetricsBean metrics)
Sets metrics.
|
void |
setNodeId(UUID nodeId)
Sets node ID.
|
void |
setTcpAddresses(Collection<String> tcpAddrs)
Sets REST TCP server addresses.
|
void |
setTcpHostNames(Collection<String> tcpHostNames)
Sets REST TCP server host names.
|
void |
setTcpPort(int tcpPort)
Sets REST binary protocol port.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public UUID getNodeId()
public void setNodeId(UUID nodeId)
nodeId - Node ID.public Object getConsistentId()
public void setConsistentId(Object consistentId)
consistentId - New consistent ID.public Collection<String> getTcpAddresses()
public Collection<String> getTcpHostNames()
public void setTcpAddresses(Collection<String> tcpAddrs)
tcpAddrs - REST TCP server addresses.public void setTcpHostNames(Collection<String> tcpHostNames)
tcpHostNames - REST TCP server host names.public GridClientNodeMetricsBean getMetrics()
public void setMetrics(GridClientNodeMetricsBean metrics)
metrics - Metrics.public void setAttributes(Map<String,Object> attrs)
attrs - Attributes.public int getTcpPort()
public Map<String,String> getCaches()
public void setCaches(Map<String,String> caches)
caches - Map where key is cache name and value is cache mode ("LOCAL", "REPLICATED", "PARTITIONED").public String getDefaultCacheMode()
public void setDefaultCacheMode(String dfltCacheMode)
dfltCacheMode - Default cache mode.public void setTcpPort(int tcpPort)
tcpPort - Port on which REST binary protocol is bound.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015