| 程序包 | 说明 |
|---|---|
| org.apache.shardingsphere.infra.instance |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<ComputeNodeInstance> |
InstanceContext.getComputeNodeInstanceById(String instanceId)
Get compute node instance by instance id.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
InstanceContext.addComputeNodeInstance(ComputeNodeInstance instance)
Add compute node instance.
|
void |
InstanceContext.deleteComputeNodeInstance(ComputeNodeInstance instance)
Delete compute node instance.
|
| 构造器和说明 |
|---|
InstanceContext(ComputeNodeInstance instance,
WorkerIdGenerator workerIdGenerator,
ModeConfiguration modeConfiguration,
LockContext lockContext,
EventBusContext eventBusContext) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.