/** * Waits until the pattern matcher is in a steady state and output can be retrieved. When steady * state is reached, a retrieval action is executed before the steady state ceases. * * @param action the action to be run when reaching the steady-state. */ public void settle(Runnable action) { reteNet.waitForReteTermination(action); }
/** Waits until the pattern matcher is in a steady state and output can be retrieved. */ public void settle() { reteNet.waitForReteTermination(); }