public class Shards extends Object
| Constructor and Description |
|---|
Shards() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getComponentId()
组件Id。最大长度7个字符,不能为null或者空字符串,不能为空格,校验和使用之前会自动过滤掉前后空格。至少包含大写字母(A-Z),小写字母(a-z),数字(0-9),非字母数字字符(限定为_)四类字符中的三类字符。组件id通过查询实例的组件列表接口(ListComponentInfos)获取
|
String |
getNodeId()
节点Id。
|
int |
hashCode() |
void |
setComponentId(String componentId) |
void |
setNodeId(String nodeId) |
String |
toString() |
Shards |
withComponentId(String componentId) |
Shards |
withNodeId(String nodeId) |
public String getNodeId()
public void setNodeId(String nodeId)
public String getComponentId()
public void setComponentId(String componentId)
Copyright © 2022. All rights reserved.