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)
ClientExtension
beforeStart
in interface ClientExtension
public void afterStart(HazelcastClientInstanceImpl client)
ClientExtension
afterStart
in interface ClientExtension
public SerializationService createSerializationService()
ClientExtension
createSerializationService
in interface ClientExtension
protected PartitioningStrategy getPartitioningStrategy(ClassLoader configClassLoader) throws Exception
Exception
public SocketInterceptor getSocketInterceptor()
ClientExtension
getSocketInterceptor
in interface ClientExtension
public SocketChannelWrapperFactory getSocketChannelWrapperFactory()
ClientExtension
getSocketChannelWrapperFactory
in interface ClientExtension
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.