/** * Overridden to attempt to consume another chunk each time an operator * reports that it has halted evaluation. This is necessary because the * haltOp() message can arrive asynchronously, so we need to test the work * queues in case there are "at-once" operators awaiting the termination of * their predecessor(s) in the pipeline. */ @Override protected void haltOp(final IHaltOpMessage msg) { lock.lock(); try { super.haltOp(msg); consumeChunk(); } finally { lock.unlock(); } }
/** * Overridden to attempt to consume another chunk each time an operator * reports that it has halted evaluation. This is necessary because the * haltOp() message can arrive asynchronously, so we need to test the work * queues in case there are "at-once" operators awaiting the termination of * their predecessor(s) in the pipeline. */ @Override protected void haltOp(final IHaltOpMessage msg) { lock.lock(); try { super.haltOp(msg); consumeChunk(); } finally { lock.unlock(); } }
@Override public void haltOp(final IHaltOpMessage msg) throws RemoteException { final AbstractRunningQuery q = getRunningQuery(msg.getQueryId()); if (q != null) { q.haltOp(msg); } }
@Override public void haltOp(final IHaltOpMessage msg) throws RemoteException { final AbstractRunningQuery q = getRunningQuery(msg.getQueryId()); if (q != null) { q.haltOp(msg); } }
haltOp(msg); } else { new SendHaltMessageTask(getQueryController(), msg,
haltOp(msg); } else { new SendHaltMessageTask(getQueryController(), msg,