本文整理了Java中com.hazelcast.config.Config.getProperties()
方法的一些代码示例,展示了Config.getProperties()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.getProperties()
方法的具体详情如下:
包路径:com.hazelcast.config.Config
类名称:Config
方法名:getProperties
[英]Returns the properties set on this config instance. These properties are specific to this config and this hazelcast instance.
[中]返回在此配置实例上设置的属性。这些属性特定于此配置和此hazelcast实例。
代码示例来源:origin: hazelcast/hazelcast-jet
/**
* Creates a container with configured Hazelcast properties.
* <p>
* Uses the system property value if no value is defined in the configuration.
* Uses the default value if no system property value is defined.
*
* @param config {@link Config} used to configure the {@link HazelcastProperty} values;
* properties in config are allowed to be {@code null}
*/
public HazelcastProperties(Config config) {
this(config.getProperties());
}
代码示例来源:origin: hazelcast/hazelcast-jet
@Override
public Properties getProperties() {
return staticConfig.getProperties();
}
代码示例来源:origin: com.hazelcast/hazelcast-all
/**
* Creates a container with configured Hazelcast properties.
* <p>
* Uses the system property value if no value is defined in the configuration.
* Uses the default value if no system property value is defined.
*
* @param config {@link Config} used to configure the {@link HazelcastProperty} values;
* properties in config are allowed to be {@code null}
*/
public HazelcastProperties(Config config) {
this(config.getProperties());
}
代码示例来源:origin: com.hazelcast/hazelcast-all
@Override
public Properties getProperties() {
return staticConfig.getProperties();
}
代码示例来源:origin: org.apache.camel/camel-hazelcast
config = new XmlConfigBuilder().build();
config.getProperties().setProperty("hazelcast.version.check.enabled", "false");
config.getProperties().setProperty("hazelcast.phone.home.enabled", "false");
代码示例来源:origin: hazelcast/hazelcast-jet
Properties hzProperties = hzConfig.getProperties();
代码示例来源:origin: com.hazelcast/hazelcast-all
gen.appendProperties(config.getProperties());
securityXmlGenerator(gen, config);
wanReplicationXmlGenerator(gen, config);
代码示例来源:origin: hazelcast/hazelcast-jet
gen.appendProperties(config.getProperties());
securityXmlGenerator(gen, config);
wanReplicationXmlGenerator(gen, config);
代码示例来源:origin: com.hazelcast/hazelcast-all
handleGroup(node);
} else if (PROPERTIES.isEqual(nodeName)) {
fillProperties(node, config.getProperties());
} else if (WAN_REPLICATION.isEqual(nodeName)) {
handleWanReplication(node);
代码示例来源:origin: hazelcast/hazelcast-jet
handleGroup(node);
} else if (PROPERTIES.isEqual(nodeName)) {
fillProperties(node, config.getProperties());
} else if (WAN_REPLICATION.isEqual(nodeName)) {
handleWanReplication(node);
内容来源于网络,如有侵权,请联系作者删除!