public class CacheContinuousQueryHandlerV3<K,V> extends CacheContinuousQueryHandlerV2<K,V>
Factory for remote transformer and ContinuousQueryWithTransformer.EventListener.ContinuousQueryWithTransformer,
Serialized FormGridContinuousHandler.RegisterStatusfilter| Constructor and Description |
|---|
CacheContinuousQueryHandlerV3()
Empty constructor.
|
CacheContinuousQueryHandlerV3(String cacheName,
Object topic,
ContinuousQueryWithTransformer.EventListener<?> locTransLsnr,
javax.cache.configuration.Factory<? extends javax.cache.event.CacheEntryEventFilter<K,V>> rmtFilterFactory,
javax.cache.configuration.Factory<? extends IgniteClosure<javax.cache.event.CacheEntryEvent<? extends K,? extends V>,?>> rmtTransFactory,
boolean oldValRequired,
boolean sync,
boolean ignoreExpired,
boolean ignoreClsNotFound) |
| Modifier and Type | Method and Description |
|---|---|
javax.cache.event.CacheEntryEventFilter<K,V> |
getEventFilter() |
protected IgniteClosure<javax.cache.event.CacheEntryEvent<? extends K,? extends V>,?> |
getTransformer() |
protected ContinuousQueryWithTransformer.EventListener<?> |
localTransformedEventListener() |
void |
p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
void |
p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
void |
readExternal(ObjectInput in) |
GridContinuousHandler.RegisterStatus |
register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
void |
writeExternal(ObjectOutput out) |
clone, toStringcacheName, createBatch, filter, internal, isEvents, isMessaging, isQuery, keepBinary, keepBinary, localCache, notifyCallback, notifyExisting, onBatchAcknowledged, onClientDisconnected, onNodeLeft, orderedTopic, skipPrimaryCheck, taskNameHash, unregister, updateCounterspublic CacheContinuousQueryHandlerV3()
public CacheContinuousQueryHandlerV3(String cacheName, Object topic, ContinuousQueryWithTransformer.EventListener<?> locTransLsnr, @Nullable javax.cache.configuration.Factory<? extends javax.cache.event.CacheEntryEventFilter<K,V>> rmtFilterFactory, javax.cache.configuration.Factory<? extends IgniteClosure<javax.cache.event.CacheEntryEvent<? extends K,? extends V>,?>> rmtTransFactory, boolean oldValRequired, boolean sync, boolean ignoreExpired, boolean ignoreClsNotFound)
cacheName - Cache name.topic - Topic.locTransLsnr - Local listener of transformed eventsrmtFilterFactory - Remote filter factory.rmtTransFactory - Remote transformer factory.oldValRequired - OldValRequired flag.sync - Sync flag.ignoreExpired - IgnoreExpired flag.ignoreClsNotFound - IgnoreClassNotFoundException flag.protected IgniteClosure<javax.cache.event.CacheEntryEvent<? extends K,? extends V>,?> getTransformer()
getTransformer in class CacheContinuousQueryHandler<K,V>protected ContinuousQueryWithTransformer.EventListener<?> localTransformedEventListener()
localTransformedEventListener in class CacheContinuousQueryHandler<K,V>public javax.cache.event.CacheEntryEventFilter<K,V> getEventFilter()
getEventFilter in class CacheContinuousQueryHandlerV2<K,V>public GridContinuousHandler.RegisterStatus register(UUID nodeId, UUID routineId, GridKernalContext ctx) throws IgniteCheckedException
register in interface GridContinuousHandlerregister in class CacheContinuousQueryHandler<K,V>nodeId - ID of the node that started routine.routineId - Routine ID.ctx - Kernal context.IgniteCheckedException - In case of error.public void p2pMarshal(GridKernalContext ctx) throws IgniteCheckedException
p2pMarshal in interface GridContinuousHandlerp2pMarshal in class CacheContinuousQueryHandlerV2<K,V>ctx - Kernal context.IgniteCheckedException - In case of error.public void p2pUnmarshal(UUID nodeId, GridKernalContext ctx) throws IgniteCheckedException
p2pUnmarshal in interface GridContinuousHandlerp2pUnmarshal in class CacheContinuousQueryHandlerV2<K,V>nodeId - Sender node ID.ctx - Kernal context.IgniteCheckedException - In case of error.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class CacheContinuousQueryHandlerV2<K,V>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class CacheContinuousQueryHandlerV2<K,V>IOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018