@Test public void timer() { java.util.Timer a = SharedExecutors.getTimer(); assertNotNull("Timer must not be null", a); java.util.Timer b = SharedExecutors.getTimer(); assertSame("factories should be same", a, b); }
public static Timer getTimer() { return sharedTimer; }
SharedExecutors { public static Timer getTimer() { return sharedTimer; } }
SharedExecutors { public static Timer getTimer() { return sharedTimer; } private  SharedExecutors(); }
SharedExecutors { public static Timer getTimer() { return sharedTimer; } private  SharedExecutors(); static ExecutorService getSingleThreadExecutor(); static ExecutorService getPoolThreadExecutor(); static Timer getTimer(); static void setPoolSize(int poolSize); static void setCalculatePoolPerformance(boolean calculatePoolPerformance, MetricsService metricsService); static void shutdown(); }
SharedExecutors { public static Timer getTimer() { return sharedTimer; } private  SharedExecutors(); static ExecutorService getSingleThreadExecutor(); static ExecutorService getPoolThreadExecutor(); static Timer getTimer(); static void setPoolSize(int poolSize); static void setCalculatePoolPerformance(boolean calculatePoolPerformance, MetricsService metricsService); static void shutdown(); static final int DEFAULT_POOL_SIZE; }