public interface ClientExtension
SerializationService
, SocketChannelWrapperFactory
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
|
NearCacheManager |
createNearCacheManager()
Creates a
NearCacheManager instance to be used by this client. |
SerializationService |
createSerializationService(byte version)
Creates a
SerializationService instance to be used by this client. |
<T> ClientProxyFactory |
createServiceProxyFactory(Class<T> service)
Creates a
ClientProxyFactory for the supplied service class. |
SocketChannelWrapperFactory |
createSocketChannelWrapperFactory()
Creates a
SocketChannelWrapperFactory instance to be used by this client. |
SocketInterceptor |
createSocketInterceptor()
Creates a
SocketInterceptor to be used by this client if available,
otherwise returns null |
void beforeStart(HazelcastClientInstanceImpl client)
void afterStart(HazelcastClientInstanceImpl client)
SerializationService createSerializationService(byte version)
SerializationService
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 usedSerializationService
instanceSocketInterceptor createSocketInterceptor()
SocketInterceptor
to be used by this client if available,
otherwise returns null
SocketInterceptor
instance if available,
+ otherwise null
SocketChannelWrapperFactory createSocketChannelWrapperFactory()
SocketChannelWrapperFactory
instance to be used by this client.SocketChannelWrapperFactory
instanceNearCacheManager createNearCacheManager()
NearCacheManager
instance to be used by this client.NearCacheManager
instance<T> ClientProxyFactory createServiceProxyFactory(Class<T> service)
ClientProxyFactory
for the supplied service class.service
- service for the proxy to create.ClientProxyFactory
for the service.IllegalArgumentException
- if service is not knownCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.