refactor: 调整 SPI Package 目录.

pull/161/head
龙台 4 years ago
parent 6206359931
commit 9eb3d6702c

@ -1,4 +1,4 @@
package io.dynamic.threadpool.starter.spi.queue; package io.dynamic.threadpool.starter.spi;
import java.util.concurrent.BlockingQueue; import java.util.concurrent.BlockingQueue;

@ -1,4 +1,4 @@
package io.dynamic.threadpool.starter.spi.rejected; package io.dynamic.threadpool.starter.spi;
import java.util.concurrent.RejectedExecutionHandler; import java.util.concurrent.RejectedExecutionHandler;

@ -1,7 +1,5 @@
package io.dynamic.threadpool.starter.spi; package io.dynamic.threadpool.starter.spi;
import io.dynamic.threadpool.starter.spi.exception.ServiceLoaderInstantiationException;
import java.util.*; import java.util.*;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors; import java.util.stream.Collectors;

@ -1,4 +1,4 @@
package io.dynamic.threadpool.starter.spi.exception; package io.dynamic.threadpool.starter.spi;
/** /**
* Service loader instantiation exception. * Service loader instantiation exception.

@ -1,7 +1,7 @@
package io.dynamic.threadpool.starter.toolkit.thread; package io.dynamic.threadpool.starter.toolkit.thread;
import io.dynamic.threadpool.starter.spi.DynamicTpServiceLoader; import io.dynamic.threadpool.starter.spi.DynamicTpServiceLoader;
import io.dynamic.threadpool.starter.spi.queue.CustomBlockingQueue; import io.dynamic.threadpool.starter.spi.CustomBlockingQueue;
import java.util.Collection; import java.util.Collection;
import java.util.Objects; import java.util.Objects;

@ -1,7 +1,7 @@
package io.dynamic.threadpool.starter.toolkit.thread; package io.dynamic.threadpool.starter.toolkit.thread;
import io.dynamic.threadpool.starter.spi.DynamicTpServiceLoader; import io.dynamic.threadpool.starter.spi.DynamicTpServiceLoader;
import io.dynamic.threadpool.starter.spi.rejected.CustomRejectedExecutionHandler; import io.dynamic.threadpool.starter.spi.CustomRejectedExecutionHandler;
import java.util.Collection; import java.util.Collection;
import java.util.Objects; import java.util.Objects;

Loading…
Cancel
Save