Package | Description |
---|---|
com.hazelcast.client |
Contains classes/interfaces related to Client
|
com.hazelcast.client.config |
Contains classes related to config for com.hazelcast.client
|
com.hazelcast.client.impl.clientside |
Contains most of the client side HazelcastInstance implementation functionality.
|
com.hazelcast.client.impl.querycache.subscriber |
Contains Hazelcast Enterprise version client-side query cache
subscriber implementation classes.
|
com.hazelcast.client.spi |
Contains classes/interfaces related to the Hazelcast client Service Provider Interface.
|
com.hazelcast.client.util |
This package contains some utility classes and the base implementations of the
loadbalancer implementations
|
Modifier and Type | Interface and Description |
---|---|
interface |
HazelcastClientFactory<T extends HazelcastClientInstanceImpl,V extends HazelcastClientProxy,C extends ClientConfig>
Provides the capability for the customization of Hazelcast client factories.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancer.init(Cluster cluster,
ClientConfig config)
Initializes the LoadBalancer.
|
static HazelcastInstance |
HazelcastClient.newHazelcastClient(ClientConfig config) |
static HazelcastInstance |
HazelcastClientManager.newHazelcastClient(ClientConfig config,
HazelcastClientFactory hazelcastClientFactory) |
Modifier and Type | Class and Description |
---|---|
class |
ClientClasspathXmlConfig
A
ClientConfig which is initialized by loading an XML configuration file from the classpath. |
Modifier and Type | Method and Description |
---|---|
ClientConfig |
ClientConfig.addAddress(String... addresses)
Deprecated.
|
ClientConfig |
ClientConfig.addFlakeIdGeneratorConfig(ClientFlakeIdGeneratorConfig config)
Adds a flake ID generator configuration.
|
ClientConfig |
ClientConfig.addListenerConfig(ListenerConfig listenerConfig)
Helper method to add a new ListenerConfig
|
ClientConfig |
ClientConfig.addNearCacheConfig(NearCacheConfig nearCacheConfig)
Helper method to add a new NearCacheConfig
|
ClientConfig |
ClientConfig.addNearCacheConfig(String name,
NearCacheConfig nearCacheConfig)
Deprecated.
|
ClientConfig |
ClientConfig.addProxyFactoryConfig(ProxyFactoryConfig proxyFactoryConfig)
Helper method to add a new
ProxyFactoryConfig |
ClientConfig |
ClientConfig.addQueryCacheConfig(String mapName,
QueryCacheConfig queryCacheConfig) |
ClientConfig |
ClientConfig.addReliableTopicConfig(ClientReliableTopicConfig reliableTopicConfig)
Adds a ClientReliableTopicConfig.
|
ClientConfig |
XmlClientConfigBuilder.build() |
ClientConfig |
XmlClientConfigBuilder.build(ClassLoader classLoader) |
ClientConfig |
ClientConfig.setAddresses(List<String> addresses)
Deprecated.
|
ClientConfig |
ClientConfig.setClassLoader(ClassLoader classLoader)
Sets the classLoader which is used by serialization and listener configuration
|
ClientConfig |
ClientConfig.setConnectionAttemptLimit(int connectionAttemptLimit)
Deprecated.
|
ClientConfig |
ClientConfig.setConnectionAttemptPeriod(int connectionAttemptPeriod)
Deprecated.
|
ClientConfig |
ClientConfig.setConnectionStrategyConfig(ClientConnectionStrategyConfig connectionStrategyConfig) |
ClientConfig |
ClientConfig.setConnectionTimeout(int connectionTimeout)
Deprecated.
|
ClientConfig |
ClientConfig.setCredentials(Credentials credentials)
Sets
Credentials |
ClientConfig |
ClientConfig.setExecutorPoolSize(int executorPoolSize)
Sets Client side Executor pool size.
|
ClientConfig |
ClientConfig.setFlakeIdGeneratorConfigMap(Map<String,ClientFlakeIdGeneratorConfig> map)
Sets the map of
FlakeIdGenerator configurations,
mapped by config name. |
ClientConfig |
ClientConfig.setGroupConfig(GroupConfig groupConfig)
Sets
GroupConfig |
ClientConfig |
ClientConfig.setLicenseKey(String licenseKey)
Deprecated.
As of Hazelcast 3.10.3, enterprise license keys are required only for members, and not for clients
|
ClientConfig |
ClientConfig.setListenerConfigs(List<ListenerConfig> listenerConfigs)
Sets all
ListenerConfig 's |
ClientConfig |
ClientConfig.setLoadBalancer(LoadBalancer loadBalancer)
Sets the
LoadBalancer |
ClientConfig |
ClientConfig.setManagedContext(ManagedContext managedContext)
Sets
ManagedContext |
ClientConfig |
ClientConfig.setNativeMemoryConfig(NativeMemoryConfig nativeMemoryConfig) |
ClientConfig |
ClientConfig.setNearCacheConfigMap(Map<String,NearCacheConfig> nearCacheConfigMap)
Sets all
NearCacheConfig 's with the provided map |
ClientConfig |
ClientConfig.setNetworkConfig(ClientNetworkConfig networkConfig)
Sets
ClientNetworkConfig |
ClientConfig |
ClientConfig.setProperties(Properties properties)
sets all properties
|
ClientConfig |
ClientConfig.setProperty(String name,
String value)
Sets the value of a named property.
|
ClientConfig |
ClientConfig.setProxyFactoryConfigs(List<ProxyFactoryConfig> proxyFactoryConfigs)
Sets the
ProxyFactoryConfig |
ClientConfig |
ClientConfig.setRedoOperation(boolean redoOperation)
Deprecated.
|
ClientConfig |
ClientConfig.setReliableTopicConfigMap(Map<String,ClientReliableTopicConfig> map)
Sets the map of
ClientReliableTopicConfig ,
mapped by config name. |
ClientConfig |
ClientConfig.setSecurityConfig(ClientSecurityConfig securityConfig)
Sets
ClientSecurityConfig object |
ClientConfig |
ClientConfig.setSerializationConfig(SerializationConfig serializationConfig)
Sets
SerializationConfig |
ClientConfig |
ClientConfig.setSmartRouting(boolean smartRouting)
Deprecated.
|
ClientConfig |
ClientConfig.setSocketInterceptorConfig(SocketInterceptorConfig socketInterceptorConfig)
Deprecated.
|
ClientConfig |
ClientConfig.setSocketOptions(SocketOptions socketOptions)
Deprecated.
|
ClientConfig |
ClientConfig.setUserCodeDeploymentConfig(ClientUserCodeDeploymentConfig userCodeDeploymentConfig)
Set User Code Deployment configuration
|
ClientConfig |
ClientConfig.setUserContext(ConcurrentMap<String,Object> userContext) |
Modifier and Type | Method and Description |
---|---|
static List<AliasedDiscoveryConfig<?>> |
ClientAliasedDiscoveryConfigUtils.aliasedDiscoveryConfigsFrom(ClientConfig config)
Gets a list of all aliased discovery configs from
config . |
static List<DiscoveryStrategyConfig> |
ClientAliasedDiscoveryConfigUtils.createDiscoveryStrategyConfigs(ClientConfig config)
Extracts aliased discovery configs from
config and creates a list of DiscoveryStrategyConfig out of them. |
Modifier and Type | Method and Description |
---|---|
ClientConfig |
HazelcastClientInstanceImpl.getClientConfig() |
ClientConfig |
HazelcastClientProxy.getClientConfig() |
Constructor and Description |
---|
HazelcastClientInstanceImpl(ClientConfig config,
ClientConnectionManagerFactory clientConnectionManagerFactory,
AddressProvider externalAddressProvider) |
Constructor and Description |
---|
ClientQueryCacheConfigurator(ClientConfig clientConfig,
QueryCacheEventService eventService) |
Modifier and Type | Method and Description |
---|---|
ClientConfig |
ClientContext.getClientConfig() |
Modifier and Type | Method and Description |
---|---|
void |
ProxyManager.init(ClientConfig config,
ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLoadBalancer.init(Cluster cluster,
ClientConfig config) |
void |
StaticLB.init(Cluster cluster,
ClientConfig config) |
Constructor and Description |
---|
ClientStateListener(ClientConfig clientConfig)
Registers this instance with the provided client configuration
|
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.