Kirill Tkalenko created IGNITE-12338:
----------------------------------------
Summary: Use ignite thread for notifier about long query
Key: IGNITE-12338
URL:
https://issues.apache.org/jira/browse/IGNITE-12338 Project: Ignite
Issue Type: Improvement
Reporter: Kirill Tkalenko
Assignee: Kirill Tkalenko
Fix For: 2.8
If we are using simple Thread that name of it will be random and look as each any thread.
We have to use IgniteThread for internal threads to platform.
{code}checkWorker = new GridWorker(ctx.igniteInstanceName(), "long-qry", log) {
@Override protected void body() throws InterruptedException, IgniteInterruptedCheckedException {
while (true) {
checkLongRunning();
U.sleep(CHECK_PERIOD);
}
}
};
timeout = ctx.config().getLongQueryWarningTimeout();
Thread thread = new Thread(checkWorker);
thread.setDaemon(true);
thread.start();\{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)