|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientExtension
ClientExtension is a client extension mechanism to be able to plug different implementations of
some modules, like; SerializationService, SocketChannelWrapperFactory etc.
| 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. |
|
|
getServiceProxy(Class<T> service)
Returns a proxy for the corresponding service. |
|
| Method Detail |
|---|
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 nullSocketChannelWrapperFactory 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 known
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||