public interface ClientExtension
InternalSerializationService
etc.Modifier and Type | Method and Description |
---|---|
void |
afterStart(HazelcastClientInstanceImpl client)
Called after node is started
|
void |
beforeStart(HazelcastClientInstanceImpl client)
Called before client is started
|
ChannelInitializer |
createChannelInitializer() |
ChannelInitializer |
createChannelInitializer(SSLConfig sslConfig,
SocketOptions socketOptions) |
NearCacheManager |
createNearCacheManager()
Creates a
NearCacheManager instance to be used by this client. |
InternalSerializationService |
createSerializationService(byte version)
Creates a
InternalSerializationService instance to be used by this client. |
<T> ClientProxyFactory |
createServiceProxyFactory(Class<T> service)
Creates a
ClientProxyFactory for the supplied service class. |
SocketInterceptor |
createSocketInterceptor()
Creates a
SocketInterceptor to be used by this client if available,
otherwise returns null |
SocketInterceptor |
createSocketInterceptor(SocketInterceptorConfig socketInterceptorConfig)
Create socket interceptor according to given config
|
MemoryStats |
getMemoryStats()
Returns MemoryStats of for the JVM and current HazelcastInstance.
|
void beforeStart(HazelcastClientInstanceImpl client)
void afterStart(HazelcastClientInstanceImpl client)
InternalSerializationService createSerializationService(byte version)
InternalSerializationService
instance to be used by this client.version
- serialization version to be created. Values less than 1 will be ignored and max supported version
will be usedInternalSerializationService
instanceSocketInterceptor createSocketInterceptor()
SocketInterceptor
to be used by this client if available,
otherwise returns null
SocketInterceptor
instance if available,
+ otherwise null
SocketInterceptor createSocketInterceptor(SocketInterceptorConfig socketInterceptorConfig)
socketInterceptorConfig
- config for socket interceptorChannelInitializer createChannelInitializer()
ChannelInitializer createChannelInitializer(SSLConfig sslConfig, SocketOptions socketOptions)
sslConfig
- ssl config for channel initializersocketOptions
- socket options for channel initializerNearCacheManager createNearCacheManager()
NearCacheManager
instance to be used by this client.NearCacheManager
instance<T> ClientProxyFactory createServiceProxyFactory(Class<T> service)
ClientProxyFactory
for the supplied service class. Currently only the MapService
is supported.service
- service for the proxy to create.ClientProxyFactory
for the service.IllegalArgumentException
- if service is not knownMemoryStats getMemoryStats()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.