public final class ConfigFactory extends Object
Config
and ClientConfig
.
This class is used in HazelcastConfigBeanDefinitionParser
,
HazelcastClientBeanDefinitionParser
and
HazelcastFailoverClientBeanDefinitionParser
to create
`empty` configuration instances. This factory can be used to
pre-configure the configuration instances, see
CustomSpringJUnit4ClassRunner
for the usage.Modifier and Type | Method and Description |
---|---|
static AliasedDiscoveryConfig |
newAliasedDiscoveryConfig(String tag,
Map<String,String> properties) |
static ClientConfig |
newClientConfig() |
static ClientFailoverConfig |
newClientFailoverConfig() |
static CompactSerializationConfig |
newCompactSerializationConfig(List<String> serializerClassNames,
List<String> compactSerializableClassNames) |
static Config |
newConfig() |
static EvictionConfig |
newEvictionConfig(Integer maxSize,
MaxSizePolicy maxSizePolicy,
EvictionPolicy evictionPolicy,
boolean isNearCache,
boolean isIMap,
String comparatorClassName,
EvictionPolicyComparator<?,?,?> comparator) |
public static Config newConfig()
public static ClientConfig newClientConfig()
public static ClientFailoverConfig newClientFailoverConfig()
public static EvictionConfig newEvictionConfig(Integer maxSize, MaxSizePolicy maxSizePolicy, EvictionPolicy evictionPolicy, boolean isNearCache, boolean isIMap, String comparatorClassName, EvictionPolicyComparator<?,?,?> comparator)
public static AliasedDiscoveryConfig newAliasedDiscoveryConfig(String tag, Map<String,String> properties)
public static CompactSerializationConfig newCompactSerializationConfig(List<String> serializerClassNames, List<String> compactSerializableClassNames)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.