Class HazelcastClientConfiguration

java.lang.Object
com.hazelcast.client.config.ClientConfig
io.micronaut.cache.hazelcast.HazelcastClientConfiguration

@ConfigurationProperties(value="hazelcast.client", includes={"properties","instanceName","labels","userContext","clusterName","config"}) @Requires(condition=HazelcastConfigResourceCondition.class) @Requires(missingBeans=com.hazelcast.client.config.ClientConfig.class) @Requires(property="hazelcast.client") public class HazelcastClientConfiguration extends com.hazelcast.client.config.ClientConfig
Configuration class for an Hazelcast as a client.
Since:
1.0.0
Author:
Nirav Assar
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Returns the path to a Hazelcast XML or YAML configuration file.
    void
    setConfig(@Nullable String config)
    Sets the path to a Hazelcast XML or YAML configuration file.

    Methods inherited from class com.hazelcast.client.config.ClientConfig

    addFlakeIdGeneratorConfig, addLabel, addListenerConfig, addNearCacheConfig, addProxyFactoryConfig, addQueryCacheConfig, addReliableTopicConfig, equals, findFlakeIdGeneratorConfig, getClassLoader, getClusterName, getConfigPatternMatcher, getConnectionStrategyConfig, getFlakeIdGeneratorConfig, getFlakeIdGeneratorConfigMap, getInstanceName, getInstanceTrackingConfig, getLabels, getListenerConfigs, getLoadBalancer, getLoadBalancerClassName, getManagedContext, getMetricsConfig, getNativeMemoryConfig, getNearCacheConfig, getNearCacheConfigMap, getNetworkConfig, getOrCreateQueryCacheConfig, getOrNullQueryCacheConfig, getProperties, getProperty, getProxyFactoryConfigs, getQueryCacheConfigs, getReliableTopicConfig, getReliableTopicConfigMap, getSecurityConfig, getSerializationConfig, getSqlConfig, getTpcConfig, getUserCodeDeploymentConfig, getUserContext, hashCode, isBackupAckToClientEnabled, load, setBackupAckToClientEnabled, setClassLoader, setClusterName, setConfigPatternMatcher, setConnectionStrategyConfig, setCredentials, setFlakeIdGeneratorConfigMap, setInstanceName, setInstanceTrackingConfig, setLabels, setListenerConfigs, setLoadBalancer, setLoadBalancerClassName, setManagedContext, setMetricsConfig, setNativeMemoryConfig, setNearCacheConfigMap, setNetworkConfig, setProperties, setProperty, setProxyFactoryConfigs, setQueryCacheConfigs, setReliableTopicConfigMap, setSecurityConfig, setSerializationConfig, setSqlConfig, setTpcConfig, setUserCodeDeploymentConfig, setUserContext, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getConfig

      @Nullable public @Nullable String getConfig()
      Returns the path to a Hazelcast XML or YAML configuration file.

      If non-null, the contents of the file will override this configuration. This path will be used to set system property hazelcast.client.config.

      Returns:
      The path to the Hazelcast XML or YAML configuration file.
      Since:
      4.1
    • setConfig

      public void setConfig(@Nullable @Nullable String config)
      Sets the path to a Hazelcast XML or YAML configuration file.

      If non-null, the contents of the file will override this configuration. This path will be used to set system property hazelcast.client.config.

      Parameters:
      config - The path to the Hazelcast XML or YAML configuration file.
      Since:
      4.1