本文整理了Java中com.hazelcast.config.Config.setConfigurationFile()
方法的一些代码示例,展示了Config.setConfigurationFile()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.setConfigurationFile()
方法的具体详情如下:
包路径:com.hazelcast.config.Config
类名称:Config
方法名:setConfigurationFile
[英]Sets the File from which this configuration has been retrieved and created.
Is set by the XmlConfigBuilder, when the XML configuration was retrieved from a file.
[中]设置从中检索和创建此配置的文件。
从文件检索XML配置时,由XmlConfigBuilder设置。
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public Config setConfigurationFile(File configurationFile) {
return staticConfig.setConfigurationFile(configurationFile);
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public Config setConfigurationFile(File configurationFile) {
return staticConfig.setConfigurationFile(configurationFile);
}
代码示例来源:origin: hazelcast/hazelcast-jet
Config build(Config config) {
config.setConfigurationFile(configurationFile);
config.setConfigurationUrl(configurationUrl);
try {
parseAndBuildConfig(config);
} catch (Exception e) {
throw ExceptionUtil.rethrow(e);
}
return config;
}
代码示例来源:origin: com.hazelcast/hazelcast-all
Config build(Config config) {
config.setConfigurationFile(configurationFile);
config.setConfigurationUrl(configurationUrl);
try {
parseAndBuildConfig(config);
} catch (Exception e) {
throw ExceptionUtil.rethrow(e);
}
return config;
}
内容来源于网络,如有侵权,请联系作者删除!