public class DefaultClientExtension extends Object implements ClientExtension
| Modifier and Type | Field and Description |
|---|---|
protected HazelcastClientInstanceImpl |
client |
protected static ILogger |
LOGGER |
| Constructor and Description |
|---|
DefaultClientExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterStart(HazelcastClientInstanceImpl client)
Called after node is started
|
void |
beforeStart(HazelcastClientInstanceImpl client)
Called before client is started
|
SerializationService |
createSerializationService()
Creates a SerializationService instance to be used by this client.
|
protected PartitioningStrategy |
getPartitioningStrategy(ClassLoader configClassLoader) |
SocketChannelWrapperFactory |
getSocketChannelWrapperFactory()
Returns SocketChannelWrapperFactory instance to be used by this client.
|
SocketInterceptor |
getSocketInterceptor()
Returns SocketInterceptor for this client if available,
otherwise returns null.
|
protected static final ILogger LOGGER
protected volatile HazelcastClientInstanceImpl client
public void beforeStart(HazelcastClientInstanceImpl client)
ClientExtensionbeforeStart in interface ClientExtensionpublic void afterStart(HazelcastClientInstanceImpl client)
ClientExtensionafterStart in interface ClientExtensionpublic SerializationService createSerializationService()
ClientExtensioncreateSerializationService in interface ClientExtensionprotected PartitioningStrategy getPartitioningStrategy(ClassLoader configClassLoader) throws Exception
Exceptionpublic SocketInterceptor getSocketInterceptor()
ClientExtensiongetSocketInterceptor in interface ClientExtensionpublic SocketChannelWrapperFactory getSocketChannelWrapperFactory()
ClientExtensiongetSocketChannelWrapperFactory in interface ClientExtensionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.