Package org.apache.ignite.internal
Class QueryMXBeanImpl
- java.lang.Object
-
- org.apache.ignite.internal.QueryMXBeanImpl
-
- All Implemented Interfaces:
QueryMXBean
public class QueryMXBeanImpl extends Object implements QueryMXBean
QueryMXBean implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXPECTED_GLOBAL_QRY_ID_FORMATGlobal query id format.
-
Constructor Summary
Constructors Constructor Description QueryMXBeanImpl(GridKernalContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelContinuous(String originNodeId, String routineId)Kills continuous query by the identifier.voidcancelContinuous(UUID originNodeId, UUID routineId)Kills continuous query by the identifier.voidcancelScan(String originNodeId, String cacheName, Long id)Kills scan query by the identifiers.voidcancelScan(UUID originNodeId, String cacheName, long id)Executes scan query cancel on all cluster nodes.voidcancelSQL(String id)Kills SQL query by the identifier.voidcancelSQL(UUID originNodeId, long qryId)Executes scan query cancel on all cluster nodes.
-
-
-
Field Detail
-
EXPECTED_GLOBAL_QRY_ID_FORMAT
public static final String EXPECTED_GLOBAL_QRY_ID_FORMAT
Global query id format.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QueryMXBeanImpl
public QueryMXBeanImpl(GridKernalContext ctx)
- Parameters:
ctx- Context.
-
-
Method Detail
-
cancelContinuous
public void cancelContinuous(String originNodeId, String routineId)
Kills continuous query by the identifier.- Specified by:
cancelContinuousin interfaceQueryMXBean- Parameters:
originNodeId- ID of the node that is CQ initiator.routineId- Continuous query id.- See Also:
ContinuousQueryView.routineId()
-
cancelSQL
public void cancelSQL(String id)
Kills SQL query by the identifier.- Specified by:
cancelSQLin interfaceQueryMXBean- Parameters:
id- SQL query id.- See Also:
SqlQueryView.queryId()
-
cancelScan
public void cancelScan(String originNodeId, String cacheName, Long id)
Kills scan query by the identifiers.- Specified by:
cancelScanin interfaceQueryMXBean- Parameters:
originNodeId- Originating node id.cacheName- Cache name.id- Scan query id.- See Also:
ScanQueryView.originNodeId(),ScanQueryView.cacheName(),ScanQueryView.queryId()
-
cancelSQL
public void cancelSQL(UUID originNodeId, long qryId)
Executes scan query cancel on all cluster nodes.- Parameters:
originNodeId- Originating node id.
-
cancelScan
public void cancelScan(UUID originNodeId, String cacheName, long id)
Executes scan query cancel on all cluster nodes.- Parameters:
originNodeId- Originating node id.cacheName- Cache name.id- Scan query id.
-
-