|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.client.impl.DefaultClientExtension
public class DefaultClientExtension
Field Summary | |
---|---|
protected HazelcastClientInstanceImpl |
client
|
protected static ILogger |
LOGGER
|
Constructor Summary | |
---|---|
DefaultClientExtension()
|
Method Summary | ||
---|---|---|
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 . |
|
protected PartitioningStrategy |
getPartitioningStrategy(ClassLoader configClassLoader)
|
|
|
getServiceProxy(Class<T> service)
Returns a proxy for the corresponding service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final ILogger LOGGER
protected volatile HazelcastClientInstanceImpl client
Constructor Detail |
---|
public DefaultClientExtension()
Method Detail |
---|
public void beforeStart(HazelcastClientInstanceImpl client)
ClientExtension
beforeStart
in interface ClientExtension
public void afterStart(HazelcastClientInstanceImpl client)
ClientExtension
afterStart
in interface ClientExtension
public SerializationService createSerializationService()
ClientExtension
SerializationService
instance to be used by this client.
createSerializationService
in interface ClientExtension
SerializationService
instanceprotected PartitioningStrategy getPartitioningStrategy(ClassLoader configClassLoader) throws Exception
Exception
public SocketInterceptor createSocketInterceptor()
ClientExtension
SocketInterceptor
to be used by this client if available,
otherwise returns null
.
createSocketInterceptor
in interface ClientExtension
SocketInterceptor
instance if available,
otherwise null
public SocketChannelWrapperFactory createSocketChannelWrapperFactory()
ClientExtension
SocketChannelWrapperFactory
instance to be used by this client.
createSocketChannelWrapperFactory
in interface ClientExtension
SocketChannelWrapperFactory
instancepublic <T> Class<? extends ClientProxy> getServiceProxy(Class<T> service)
ClientExtension
getServiceProxy
in interface ClientExtension
service
- service for the proxy to create.
public NearCacheManager createNearCacheManager()
ClientExtension
NearCacheManager
instance to be used by this client.
createNearCacheManager
in interface ClientExtension
NearCacheManager
instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |