/** * We override the standard invoke method here to queue the invocation for * invoker service instead of immediately invoking. The thread pool takes care of the rest. */ @Override protected boolean requestInvoke(FrameBuffer frameBuffer) { try { invoker.execute(new Invocation(frameBuffer)); return true; } catch (RejectedExecutionException rx) { LOGGER.warn("ExecutorService rejected execution!", rx); return false; } }
/** * We override the standard invoke method here to queue the invocation for * invoker service instead of immediately invoking. The thread pool takes care of the rest. */ @Override protected boolean requestInvoke(FrameBuffer frameBuffer) { try { invoker.execute(new Invocation(frameBuffer)); return true; } catch (RejectedExecutionException rx) { LOGGER.warn("ExecutorService rejected execution!", rx); return false; } }
/** * We override the standard invoke method here to queue the invocation for * invoker service instead of immediately invoking. The thread pool takes care of the rest. */ @Override protected void requestInvoke(FrameBuffer frameBuffer) { invoker.execute(new Invocation(frameBuffer)); }