|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.client.config.ClientConfig
public class ClientConfig
Main configuration to setup a Hazelcast Client
Constructor Summary | |
---|---|
ClientConfig()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientConfig()
Method Detail |
---|
public String getProperty(String name)
name
- property name
public ClientConfig setProperty(String name, String value)
name
- property namevalue
- value of the property
ClientConfig
for chainingcom.hazelcast.client.config.ClientProperties} for properties that is used to configure client
public Properties getProperties()
Properties
object
Properties
objectpublic ClientConfig setProperties(Properties properties)
properties
- Properties
object
ClientConfig
for chainingpublic ClientSecurityConfig getSecurityConfig()
ClientSecurityConfig
object
ClientSecurityConfig
ClientSecurityConfig
public ClientConfig setSecurityConfig(ClientSecurityConfig securityConfig)
ClientSecurityConfig
object
securityConfig
- ClientSecurityConfig
to be set
ClientConfig
for chainingClientSecurityConfig
public ClientNetworkConfig getNetworkConfig()
ClientNetworkConfig
ClientNetworkConfig
ClientNetworkConfig
public ClientConfig setNetworkConfig(ClientNetworkConfig networkConfig)
ClientNetworkConfig
networkConfig
- ClientNetworkConfig
to be set
ClientConfig
for chainingClientNetworkConfig
@Deprecated public ClientConfig addNearCacheConfig(String mapName, NearCacheConfig nearCacheConfig)
addNearCacheConfig(NearCacheConfig)
mapName
- name of the IMap that near cache config will be applied tonearCacheConfig
- nearCacheConfig
ClientConfig
for chainingpublic ClientConfig addNearCacheConfig(NearCacheConfig nearCacheConfig)
nearCacheConfig
- NearCacheConfig
ClientConfig
for chainingNearCacheConfig
public ClientConfig addListenerConfig(ListenerConfig listenerConfig)
listenerConfig
- ListenerConfig
ClientConfig
for chainingListenerConfig
public ClientConfig addProxyFactoryConfig(ProxyFactoryConfig proxyFactoryConfig)
ProxyFactoryConfig
proxyFactoryConfig
- ProxyFactoryConfig
ClientConfig
for chainingProxyFactoryConfig
public NearCacheConfig getNearCacheConfig(String mapName)
NearCacheConfig
configured for the map with mapName
mapName
- name of the map
NearCacheConfig
NearCacheConfig
public Map<String,NearCacheConfig> getNearCacheConfigMap()
NearCacheConfig
public ClientConfig setNearCacheConfigMap(Map<String,NearCacheConfig> nearCacheConfigMap)
NearCacheConfig
's with the provided map
nearCacheConfigMap
- map of (mapName, NearCacheConfig
)
ClientConfig
for chaining@Deprecated public boolean isSmartRouting()
ClientNetworkConfig.isSmartRouting()
instead
@Deprecated public ClientConfig setSmartRouting(boolean smartRouting)
ClientNetworkConfig.setSmartRouting(boolean)
instead
@Deprecated public SocketInterceptorConfig getSocketInterceptorConfig()
ClientNetworkConfig.getSocketInterceptorConfig()
instead
@Deprecated public ClientConfig setSocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
ClientNetworkConfig.setSocketInterceptorConfig(com.hazelcast.config.SocketInterceptorConfig)
instead
@Deprecated public int getConnectionAttemptPeriod()
ClientNetworkConfig.getConnectionAttemptPeriod()
instead
@Deprecated public ClientConfig setConnectionAttemptPeriod(int connectionAttemptPeriod)
ClientNetworkConfig.setConnectionAttemptPeriod(int)
instead
@Deprecated public int getConnectionAttemptLimit()
ClientNetworkConfig.getConnectionAttemptLimit()
instead
@Deprecated public ClientConfig setConnectionAttemptLimit(int connectionAttemptLimit)
ClientNetworkConfig.setConnectionAttemptLimit(int)
instead
@Deprecated public int getConnectionTimeout()
ClientNetworkConfig.getConnectionTimeout()
instead
@Deprecated public ClientConfig setConnectionTimeout(int connectionTimeout)
ClientNetworkConfig.setConnectionTimeout(int)
instead
public Credentials getCredentials()
Credentials
Credentials
Credentials
public ClientConfig setCredentials(Credentials credentials)
Credentials
credentials
- Credentials
ClientConfig
for chaining@Deprecated public ClientConfig addAddress(String... addresses)
ClientNetworkConfig.addAddress(java.lang.String...)
instead
@Deprecated public ClientConfig setAddresses(List<String> addresses)
ClientNetworkConfig.setAddresses(java.util.List)
instead
@Deprecated public List<String> getAddresses()
ClientNetworkConfig.getAddresses()
instead
public GroupConfig getGroupConfig()
GroupConfig
GroupConfig
GroupConfig
public ClientConfig setGroupConfig(GroupConfig groupConfig)
GroupConfig
groupConfig
- GroupConfig
ClientConfig
for chainingpublic List<ListenerConfig> getListenerConfigs()
ListenerConfig
's
ListenerConfig
ListenerConfig
public ClientConfig setListenerConfigs(List<ListenerConfig> listenerConfigs)
ListenerConfig
's
listenerConfigs
- list of ListenerConfig
ClientConfig
for chainingListenerConfig
public LoadBalancer getLoadBalancer()
LoadBalancer
public ClientConfig setLoadBalancer(LoadBalancer loadBalancer)
LoadBalancer
loadBalancer
- LoadBalancer
ClientConfig
for chainingLoadBalancer
@Deprecated public boolean isRedoOperation()
ClientNetworkConfig.isRedoOperation()
instead
@Deprecated public ClientConfig setRedoOperation(boolean redoOperation)
ClientNetworkConfig.setRedoOperation(boolean)
instead
@Deprecated public SocketOptions getSocketOptions()
ClientNetworkConfig.getSocketOptions()
instead
@Deprecated public ClientConfig setSocketOptions(SocketOptions socketOptions)
ClientNetworkConfig.setSocketOptions(com.hazelcast.client.config.SocketOptions)
instead
public ClassLoader getClassLoader()
public ClientConfig setClassLoader(ClassLoader classLoader)
classLoader
-
ClientConfig
for chainingpublic ManagedContext getManagedContext()
ManagedContext
ManagedContext
ManagedContext
public ClientConfig setManagedContext(ManagedContext managedContext)
ManagedContext
managedContext
- ManagedContext
ClientConfig
for chainingManagedContext
public int getExecutorPoolSize()
public ClientConfig setExecutorPoolSize(int executorPoolSize)
executorPoolSize
- pool size
ClientConfig
for chainingpublic List<ProxyFactoryConfig> getProxyFactoryConfigs()
ProxyFactoryConfig
ProxyFactoryConfig
ProxyFactoryConfig
public ClientConfig setProxyFactoryConfigs(List<ProxyFactoryConfig> proxyFactoryConfigs)
ProxyFactoryConfig
proxyFactoryConfigs
- list to assign
ClientConfig
for chainingpublic SerializationConfig getSerializationConfig()
SerializationConfig
SerializationConfig
public ClientConfig setSerializationConfig(SerializationConfig serializationConfig)
SerializationConfig
serializationConfig
- SerializationConfig
ClientConfig
for chainingSerializationConfig
public NativeMemoryConfig getNativeMemoryConfig()
public ClientConfig setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |