public class QueryContextRegistry extends Object
| Constructor and Description |
|---|
QueryContextRegistry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearShared(UUID nodeId,
long qryId)
Clear shared context.
|
void |
clearSharedOnLocalNodeStop()
Clear shared contexts on local node stop.
|
void |
clearSharedOnRemoteNodeStop(UUID nodeId)
Clear shared contexts on remote node stop.
|
@Nullable QueryContext |
getShared(UUID nodeId,
long qryId,
int segmentId)
Access query context from another thread.
|
void |
setShared(UUID nodeId,
long qryId,
QueryContext ctx)
Sets current thread local context.
|
@Nullable public @Nullable QueryContext getShared(UUID nodeId, long qryId, int segmentId)
nodeId - The node who initiated the query.qryId - The query ID.segmentId - Index segment ID.public void setShared(UUID nodeId, long qryId, QueryContext ctx)
ctx - Query context.public boolean clearShared(UUID nodeId, long qryId)
nodeId - The node who initiated the query.qryId - The query ID.True if context was found.public void clearSharedOnLocalNodeStop()
public void clearSharedOnRemoteNodeStop(UUID nodeId)
nodeId - Remote node ID.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025