public class HazelcastKeyValueConfiguration extends Object implements jakarta.nosql.keyvalue.KeyValueConfiguration
KeyValueConfiguration that returns
HazelcastBucketManagerFactory. It tries to read the diana-hazelcast.properties file
that has the properties:
hazelcast.instanceName: the instance name
hazelcast.host: as prefix to n host where n is the number of host, eg: hazelcast-host-1: host
| Constructor and Description |
|---|
HazelcastKeyValueConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
HazelcastBucketManagerFactory |
get() |
HazelcastBucketManagerFactory |
get(com.hazelcast.config.Config config)
Creates a
HazelcastBucketManagerFactory from hazelcast config |
HazelcastBucketManagerFactory |
get(Map<String,String> configurations)
Creates a
HazelcastBucketManagerFactory from configuration map |
HazelcastBucketManagerFactory |
get(jakarta.nosql.Settings settings) |
public HazelcastBucketManagerFactory get(Map<String,String> configurations) throws NullPointerException
HazelcastBucketManagerFactory from configuration mapconfigurations - the configuration mapNullPointerException - when configurations is nullpublic HazelcastBucketManagerFactory get(com.hazelcast.config.Config config) throws NullPointerException
HazelcastBucketManagerFactory from hazelcast configconfig - the ConfigNullPointerException - when config is nullpublic HazelcastBucketManagerFactory get()
get in interface jakarta.nosql.keyvalue.KeyValueConfigurationpublic HazelcastBucketManagerFactory get(jakarta.nosql.Settings settings)
get in interface jakarta.nosql.keyvalue.KeyValueConfigurationCopyright © 2017–2020 Eclipse Foundation. All rights reserved.