private void executeInMemoryChore(ProcedureInMemoryChore<TEnvironment> chore) { if (!chore.isWaiting()) { return; } // The ProcedureInMemoryChore is a special case, and it acts as a chore. // instead of bringing the Chore class in, we reuse this timeout thread for // this special case. try { chore.periodicExecute(executor.getEnvironment()); } catch (Throwable e) { LOG.error("Ignoring {} exception: {}", chore, e.getMessage(), e); } }
private void executeInMemoryChore(ProcedureInMemoryChore<TEnvironment> chore) { if (!chore.isWaiting()) { return; } // The ProcedureInMemoryChore is a special case, and it acts as a chore. // instead of bringing the Chore class in, we reuse this timeout thread for // this special case. try { chore.periodicExecute(executor.getEnvironment()); } catch (Throwable e) { LOG.error("Ignoring {} exception: {}", chore, e.getMessage(), e); } }
private void executeInMemoryChore(ProcedureInMemoryChore chore) { if (!chore.isWaiting()) { return; } // The ProcedureInMemoryChore is a special case, and it acts as a chore. // instead of bringing the Chore class in, we reuse this timeout thread for // this special case. try { chore.periodicExecute(executor.getEnvironment()); } catch (Throwable e) { LOG.error("Ignoring {} exception: {}", chore, e.getMessage(), e); } }