// We can only notify of success if it was a future
if (runnable instanceof RunnableFuture<?>) {
RunnableFuture<?> future = (RunnableFuture<?>)runnable;
ExecutorNotification notifier = notifiers.remove(future);
if (notifier != null) {
notifier.resultReturned(value);
}
}
else {
log.warn("Runnable was not found in awaiting");
}