@Test public void poolThread() { ScheduledExecutorService a = SharedScheduledExecutors.getPoolThreadExecutor(); assertNotNull("ScheduledExecutorService must not be null", a); ScheduledExecutorService b = SharedScheduledExecutors.getPoolThreadExecutor(); assertSame("factories should be same", a, b); }
public static SharedScheduledExecutorService getPoolThreadExecutor() { return poolThreadExecutor; }
SharedScheduledExecutors { public static SharedScheduledExecutorService getPoolThreadExecutor() { return poolThreadExecutor; } }
SharedScheduledExecutors { public static SharedScheduledExecutorService getPoolThreadExecutor() { return poolThreadExecutor; } private  SharedScheduledExecutors(); }
SharedScheduledExecutors { public static SharedScheduledExecutorService getPoolThreadExecutor() { return poolThreadExecutor; } private  SharedScheduledExecutors(); static SharedScheduledExecutorService getSingleThreadExecutor(); static SharedScheduledExecutorService getPoolThreadExecutor(); static void setPoolSize(int poolSize); static void shutdown(); }
SharedScheduledExecutors { public static SharedScheduledExecutorService getPoolThreadExecutor() { return poolThreadExecutor; } private  SharedScheduledExecutors(); static SharedScheduledExecutorService getSingleThreadExecutor(); static SharedScheduledExecutorService getPoolThreadExecutor(); static void setPoolSize(int poolSize); static void shutdown(); static final int DEFAULT_POOL_SIZE; }