tree: 49e69918f15ff7d1938f5a95bc8a8d6dda3d30f9 [path history] [tgz]
  1. src/
  2. build.gradle
  3. README.md
modules/sql-engine-api/README.md

Apache Ignite SQL Engine API module

The module contains an internal API that is used for integration with other components.

Operation Kill Handler API

Motivation

We have at least three types of operations that can be interrupted using the SQL KILL command:

  • SQL query
  • Transaction
  • Compute job

The Kill Handler API is designed to simplify the integration of the SQL KILL command with components that are responsible for canceling an operation of a certain type.

Classes description

OperationKillHandler -
handler that can abort an operation of a certain type. It needs to be implemented by the component that wants to handle the KILL command.

KillHandlerRegistry - registry of all kill handlers. All handlers must be registered during node startup.

CancellableOperationType - enumeration of operations that can be cancelled.