Deprecated the unnamed BoundedExecutorService

This commit is contained in:
Andrea Cavalli 2020-05-13 02:50:51 +02:00
parent 6d508a4415
commit d10e0ebf50

View File

@ -11,6 +11,7 @@ import org.jetbrains.annotations.Nullable;
public interface BoundedExecutorService extends ExecutorService { public interface BoundedExecutorService extends ExecutorService {
@Deprecated
static BoundedExecutorService create(int maxQueueSize, static BoundedExecutorService create(int maxQueueSize,
int corePoolSize, int corePoolSize,
int maxPoolSize, int maxPoolSize,