Java 类com.intellij.util.concurrency.BoundedTaskExecutor 实例源码

项目:intellij-ce-playground    文件:TransferToPooledThreadQueue.java   
public TransferToPooledThreadQueue(@NonNls @NotNull String name,
                                   @NotNull Condition<?> shutUpCondition,
                                   int maxUnitOfWorkThresholdMs,
                                   @NotNull Processor<T> processor) {
  super(name, processor, shutUpCondition, maxUnitOfWorkThresholdMs);
  myExecutor = new BoundedTaskExecutor(PooledThreadExecutor.INSTANCE, 1);
}