com.hazelcast.client
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()
Creates a
SerializationService instance to be used by this client. |
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 . |
<T> Class<? extends ClientProxy> |
getServiceProxy(Class<T> service)
Returns a proxy for the corresponding service.
|
void beforeStart(HazelcastClientInstanceImpl client)
void afterStart(HazelcastClientInstanceImpl client)
SerializationService createSerializationService()
SerializationService
instance to be used by this client.SerializationService
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> Class<? extends ClientProxy> getServiceProxy(Class<T> service)
service
- service for the proxy to create.IllegalArgumentException
- if type is not knownCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.