public class YamlMasterSlaveConfiguration extends Object
| 构造器和说明 |
|---|
YamlMasterSlaveConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
static YamlMasterSlaveConfiguration |
unmarshal(byte[] yamlBytes)
Unmarshal yaml sharding configuration from yaml bytes.
|
static YamlMasterSlaveConfiguration |
unmarshal(File yamlFile)
Unmarshal yaml master slave configuration from yaml file.
|
public static YamlMasterSlaveConfiguration unmarshal(File yamlFile) throws IOException
yamlFile - yaml fileIOException - IO Exceptionpublic static YamlMasterSlaveConfiguration unmarshal(byte[] yamlBytes) throws IOException
yamlBytes - yaml bytesIOException - IO ExceptionCopyright © 2018. All rights reserved.