import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.Closeable;
import java.io.IOException;
import java.util.Collections;
import java.io.Closeable;
import java.io.IOException;
import java.util.Collections;
public class TestingFixedThreadPool implements TestingThreadPoolIfc, Closeable,
TestingModifiableThreadPoolIfc {
private final ThreadPoolExecutor executorService;
public class TestingFixedThreadPool implements TestingThreadPoolIfc, Closeable,
TestingModifiableThreadPoolIfc {
private final ThreadPoolExecutor executorService;
public static final List<ThreadPoolExecutor> allExecutors = Collections
.synchronizedList(Lists.<ThreadPoolExecutor>newLinkedList());
public static final List<ThreadPoolExecutor> allExecutors = Collections
.synchronizedList(Lists.<ThreadPoolExecutor>newLinkedList());
checkNotNull(uniqueName);
this.uniqueName = uniqueName;
executorService = (ThreadPoolExecutor) Executors
checkNotNull(uniqueName);
this.uniqueName = uniqueName;
executorService = (ThreadPoolExecutor) Executors