public class HazelcastKeyValueConfiguration extends Object implements org.jnosql.diana.api.key.KeyValueConfiguration<HazelcastBucketManagerFactory>
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(org.jnosql.diana.api.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 org.jnosql.diana.api.key.KeyValueConfiguration<HazelcastBucketManagerFactory>public HazelcastBucketManagerFactory get(org.jnosql.diana.api.Settings settings)
get in interface org.jnosql.diana.api.key.KeyValueConfiguration<HazelcastBucketManagerFactory>Copyright © 2018. All rights reserved.