public interface QueryCacheContext
QueryCache life-cycle management phases.
 
 Any functionality for a QueryCache should be accessed
 on this context. It also helps to make abstractions over auxiliary services to provide different implementations
 on client and on node sides.| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Destroys everything in this context. | 
| InvokerWrapper | getInvokerWrapper()Returns  InvokerWrapperfor this context. | 
| Collection<Member> | getMemberList()Returns member list of the cluster. | 
| int | getPartitionId(Object object)Returns partition id of the supplied object. | 
| PublisherContext | getPublisherContext()Returns  PublisherContextfor this context. | 
| QueryCacheConfigurator | getQueryCacheConfigurator()Returns  QueryCacheConfiguratorfor this context
 which will be used to createQueryCacheConfiguratorimplementations
 for client or node sides. | 
| QueryCacheEventService | getQueryCacheEventService()Returns  QueryCacheEventServicefactory for this context
 which will be used to createQueryCacheEventServiceimplementations
 for client or node sides. | 
| QueryCacheScheduler | getQueryCacheScheduler()Returns  QueryCacheSchedulerfor this context
 which will be used to createQueryCacheSchedulerimplementations
 for client or node sides. | 
| InternalSerializationService | getSerializationService()Returns  InternalSerializationServicefor this context. | 
| SubscriberContext | getSubscriberContext()Returns  SubscriberContextfor this context. | 
| Address | getThisNodesAddress()Returns this nodes address. | 
| void | setSubscriberContext(SubscriberContext subscriberContext)Only used for testing purposes. | 
| Object | toObject(Object obj)Helper method to convert provided  Datato its object form. | 
PublisherContext getPublisherContext()
PublisherContext for this context.PublisherContextPublisherContextSubscriberContext getSubscriberContext()
SubscriberContext for this context.SubscriberContext for this context.SubscriberContextInternalSerializationService getSerializationService()
InternalSerializationService for this context.InternalSerializationService for this context.QueryCacheEventService getQueryCacheEventService()
QueryCacheEventService factory for this context
 which will be used to create QueryCacheEventService implementations
 for client or node sides.QueryCacheEventService for this context.QueryCacheConfigurator getQueryCacheConfigurator()
QueryCacheConfigurator for this context
 which will be used to create QueryCacheConfigurator implementations
 for client or node sides.QueryCacheConfigurator for this context.QueryCacheScheduler getQueryCacheScheduler()
QueryCacheScheduler for this context
 which will be used to create QueryCacheScheduler implementations
 for client or node sides.QueryCacheScheduler for this context.Collection<Member> getMemberList()
InvokerWrapper getInvokerWrapper()
InvokerWrapper for this context.InvokerWrapper for this context.Object toObject(Object obj)
Data
 to its object form.obj - this object may possibly be an instance of Data type.Address getThisNodesAddress()
int getPartitionId(Object object)
object - supplied object.void destroy()
void setSubscriberContext(SubscriberContext subscriberContext)
SubscriberContext implementation used by this query-cache context.subscriberContext - the supplied subscriberContext to be set.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.