public abstract class BaseNodeInstanceIdManageSpi extends Object implements NodeInstanceIdManageSpi
| Constructor and Description |
|---|
BaseNodeInstanceIdManageSpi() |
| Modifier and Type | Method and Description |
|---|---|
Node |
getNodeByIdAndIndex(String chainId,
String nodeId,
Integer index)
根据nodeId和index返回Node节点信息
|
Node |
getNodeByIdAndInstanceId(String chainId,
String instanceId)
根据chainId instanceId返回Node节点信息
|
List<String> |
getNodeInstanceIds(String chainId,
String nodeId)
根据nodeId返回instanceId list
|
int |
getNodeLocationById(String chainId,
String instanceId)
根据实例id获取 节点实例定位
|
void |
setNodesInstanceId(Condition condition,
Chain chain)
往condition里设置instanceId
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadInstanceIdFile, writeInstanceIdFilepublic Node getNodeByIdAndInstanceId(String chainId, String instanceId)
getNodeByIdAndInstanceId in interface NodeInstanceIdManageSpipublic Node getNodeByIdAndIndex(String chainId, String nodeId, Integer index)
getNodeByIdAndIndex in interface NodeInstanceIdManageSpipublic List<String> getNodeInstanceIds(String chainId, String nodeId)
getNodeInstanceIds in interface NodeInstanceIdManageSpipublic int getNodeLocationById(String chainId, String instanceId)
getNodeLocationById in interface NodeInstanceIdManageSpipublic void setNodesInstanceId(Condition condition, Chain chain)
setNodesInstanceId in interface NodeInstanceIdManageSpiCopyright © 2025. All rights reserved.