| 程序包 | 说明 |
|---|---|
| org.apache.shardingsphere.infra.state |
| 限定符和类型 | 方法和说明 |
|---|---|
StateType |
StateContext.getCurrentState()
Get current state.
|
static StateType |
StateType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static StateType[] |
StateType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StateContext.switchState(StateType type,
boolean on)
Switch state.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.