public JMXEnabledThreadPoolExecutor(Stage stage) { this(stage.getJmxName(), stage.getJmxType()); }
public JMXEnabledThreadPoolExecutor(Stage stage) { this(stage.getJmxName(), stage.getJmxType()); }
public JMXEnabledThreadPoolExecutor(Stage stage) { this(stage.getJmxName(), stage.getJmxType()); }
public JMXEnabledThreadPoolExecutor(Stage stage) { this(stage.getJmxName(), stage.getJmxType()); }
private static LocalAwareExecutorService multiThreadedLowSignalStage(Stage stage, int numThreads) { return SharedExecutorPool.SHARED.newExecutor(numThreads, Integer.MAX_VALUE, stage.getJmxType(), stage.getJmxName()); }
private static LocalAwareExecutorService multiThreadedLowSignalStage(Stage stage, int numThreads) { return SharedExecutorPool.SHARED.newExecutor(numThreads, Integer.MAX_VALUE, stage.getJmxType(), stage.getJmxName()); }
private static TracingAwareExecutorService multiThreadedLowSignalStage(Stage stage, int numThreads) { return JMXEnabledSharedExecutorPool.SHARED.newExecutor(numThreads, Integer.MAX_VALUE, stage.getJmxName(), stage.getJmxType()); }
private static LocalAwareExecutorService multiThreadedLowSignalStage(Stage stage, int numThreads) { return SharedExecutorPool.SHARED.newExecutor(numThreads, Integer.MAX_VALUE, stage.getJmxType(), stage.getJmxName()); }
private static ExecuteOnlyExecutor tracingExecutor() { RejectedExecutionHandler reh = new RejectedExecutionHandler() { public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) { MessagingService.instance().incrementDroppedMessages(MessagingService.Verb._TRACE); } }; return new ExecuteOnlyExecutor(1, 1, KEEPALIVE, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(1000), new NamedThreadFactory(Stage.TRACING.getJmxName()), reh); }
private static LocalAwareExecutorService tracingExecutor() { RejectedExecutionHandler reh = new RejectedExecutionHandler() { public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) { MessagingService.instance().incrementDroppedMessages(MessagingService.Verb._TRACE); } }; return new TracingExecutor(1, 1, KEEPALIVE, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(1000), new NamedThreadFactory(Stage.TRACING.getJmxName()), reh); }
private static JMXEnabledThreadPoolExecutor multiThreadedStage(Stage stage, int numThreads) { return new JMXEnabledThreadPoolExecutor(numThreads, KEEPALIVE, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamedThreadFactory(stage.getJmxName()), stage.getJmxType()); }
private static LocalAwareExecutorService tracingExecutor() { RejectedExecutionHandler reh = new RejectedExecutionHandler() { public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) { MessagingService.instance().incrementDroppedMessages(MessagingService.Verb._TRACE); } }; return new TracingExecutor(1, 1, KEEPALIVE, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(1000), new NamedThreadFactory(Stage.TRACING.getJmxName()), reh); }
private static JMXEnabledThreadPoolExecutor multiThreadedStage(Stage stage, int numThreads) { return new JMXEnabledThreadPoolExecutor(numThreads, KEEPALIVE, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamedThreadFactory(stage.getJmxName()), stage.getJmxType()); }
private static LocalAwareExecutorService tracingExecutor() { RejectedExecutionHandler reh = new RejectedExecutionHandler() { public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) { MessagingService.instance().incrementDroppedMessages(MessagingService.Verb._TRACE); } }; return new TracingExecutor(1, 1, KEEPALIVE, TimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(1000), new NamedThreadFactory(Stage.TRACING.getJmxName()), reh); }
private static JMXEnabledThreadPoolExecutor multiThreadedStage(Stage stage, int numThreads) { return new JMXEnabledThreadPoolExecutor(numThreads, KEEPALIVE, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamedThreadFactory(stage.getJmxName()), stage.getJmxType()); }
private static JMXEnabledThreadPoolExecutor multiThreadedStage(Stage stage, int numThreads) { return new JMXEnabledThreadPoolExecutor(numThreads, KEEPALIVE, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new NamedThreadFactory(stage.getJmxName()), stage.getJmxType()); }