com.hazelcast.config.Config.getProperties()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中com.hazelcast.config.Config.getProperties()方法的一些代码示例,展示了Config.getProperties()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.getProperties()方法的具体详情如下:
包路径:com.hazelcast.config.Config
类名称:Config
方法名:getProperties

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);

相关文章

微信公众号

最新文章

更多

Config类方法