use of org.apache.ignite.internal.processors.query.messages.GridQueryKillResponse in project ignite by apache.
the class CommandProcessor method onMessage.
/**
* @param nodeId Node ID.
* @param msg Message.
*/
public void onMessage(UUID nodeId, Object msg) {
assert msg != null;
ClusterNode node = ctx.discovery().node(nodeId);
if (node == null)
// Node left, ignore.
return;
boolean processed = true;
if (msg instanceof GridQueryKillRequest)
onQueryKillRequest((GridQueryKillRequest) msg, node);
if (msg instanceof GridQueryKillResponse)
onQueryKillResponse((GridQueryKillResponse) msg);
else
processed = false;
if (processed && log.isDebugEnabled())
log.debug("Processed response: " + nodeId + "->" + ctx.localNodeId() + " " + msg);
}
Aggregations