public class ClientCacheQueryContinuousHandle extends Object implements javax.cache.event.CacheEntryUpdatedListener<Object,Object>, ClientCloseableResource
IgniteAsyncCallback - it disables batching and sends
events one by one.| Constructor and Description |
|---|
ClientCacheQueryContinuousHandle(ClientConnectionContext ctx)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the resource.
|
void |
onUpdated(Iterable<javax.cache.event.CacheEntryEvent<?,?>> iterable) |
void |
setCursor(QueryCursor<?> cur)
Sets the cursor.
|
void |
startNotifications(long id)
Sets the cursor id.
|
public ClientCacheQueryContinuousHandle(ClientConnectionContext ctx)
ctx - Context.public void onUpdated(Iterable<javax.cache.event.CacheEntryEvent<?,?>> iterable) throws javax.cache.event.CacheEntryListenerException
public void setCursor(QueryCursor<?> cur)
cur - Cursor.public void startNotifications(long id)
id - Cursor id.public void close()
close in interface ClientCloseableResource
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023