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 ClientConfig |
newClientConfig() |
static ClientFailoverConfig |
newClientFailoverConfig() |
static CompactSerializationConfig |
newCompactSerializationConfig(boolean isEnabled,
Map<String,com.hazelcast.internal.util.TriTuple<String,String,String>> registrations) |
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)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.