public class CacheContinuousQueryHandlerV3<K,V> extends CacheContinuousQueryHandlerV2<K,V>
Factory for remote transformer and ContinuousQueryWithTransformer.EventListener.ContinuousQueryWithTransformer,
Serialized FormGridContinuousHandler.RegisterStatusfilterDFLT_CONTINUOUS_QUERY_BACKUP_ACK_THRESHOLD, DFLT_CONTINUOUS_QUERY_LISTENER_MAX_BUFFER_SIZE, IGNITE_CONTINUOUS_QUERY_BACKUP_ACK_THRESHOLD, IGNITE_CONTINUOUS_QUERY_LISTENER_MAX_BUFFER_SIZE, initFut, p2pUnmarshalFut| Constructor and Description |
|---|
CacheContinuousQueryHandlerV3()
Empty constructor.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.cache.event.CacheEntryEventFilter |
getEventFilter0()
Returns an event filter without waiting on the unmarshalling future.
|
IgniteClosure<javax.cache.event.CacheEntryEvent<? extends K,? extends V>,?> |
getTransformer0() |
boolean |
isMarshalled() |
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, flushOnNodeLeft, getEventFilter, getTransformer, initRemoteFilter, internal, isEvents, isMessaging, isQuery, keepBinary, keepBinary, localListener, localOnly, localOnly, notifyCallback, notifyExisting, notifyExisting, oldValueRequired, onBatchAcknowledged, onClientDisconnected, orderedTopic, p2pUnmarshal, skipPrimaryCheck, taskNameHash, unregister, updateCounters, updateCounterspublic CacheContinuousQueryHandlerV3()
public CacheContinuousQueryHandlerV3(String cacheName, Object topic, ContinuousQueryWithTransformer.EventListener<?> locTransLsnr, @Nullable @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.public IgniteClosure<javax.cache.event.CacheEntryEvent<? extends K,? extends V>,?> getTransformer0()
getTransformer0 in class CacheContinuousQueryHandler<K,V>public ContinuousQueryWithTransformer.EventListener<?> localTransformedEventListener()
localTransformedEventListener in class CacheContinuousQueryHandler<K,V>protected javax.cache.event.CacheEntryEventFilter getEventFilter0()
getEventFilter0 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 boolean isMarshalled()
isMarshalled in class CacheContinuousQueryHandlerV2<K,V>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 Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023