| Package | Description |
|---|---|
| org.apache.shardingsphere.infra.instance | |
| org.apache.shardingsphere.infra.instance.definition |
| Modifier and Type | Method and Description |
|---|---|
List<InstanceId> |
InstanceContext.getComputeNodeInstanceIds(InstanceType instanceType,
Collection<String> labels)
Get compute node instances by instance type and labels.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceType |
InstanceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceType[] |
InstanceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
InstanceDefinition(InstanceType instanceType) |
InstanceDefinition(InstanceType instanceType,
Integer port) |
InstanceDefinition(InstanceType instanceType,
String id) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.