| 程序包 | 说明 |
|---|---|
| com.github.paganini2008.devtools.multithreads | |
| com.github.paganini2008.devtools.multithreads.latch |
| 限定符和类型 | 字段和说明 |
|---|---|
private Latch |
ThreadPoolBuilder.latch |
private Latch |
GenericThreadPool.latch |
private Latch |
ForEach.latch |
| 限定符和类型 | 方法和说明 |
|---|---|
Latch |
ThreadPoolBuilder.getLatch() |
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadPoolBuilder |
ThreadPoolBuilder.setLatch(Latch latch) |
| 构造器和说明 |
|---|
GenericThreadPool(int maxPoolSize,
Latch latch,
long timeout,
int queueSize,
ThreadFactory threadFactory) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CounterLatch
CounterLatch
|
class |
FairLatch
FairLatch
|
class |
NoopLatch
NoopLatch
|
class |
RecursiveLatch
RecursiveLatch
|
class |
SemaphoreLatch
SemaphoreLatch
|
| 限定符和类型 | 字段和说明 |
|---|---|
private Latch |
RecursiveLatch.delegate |
| 限定符和类型 | 方法和说明 |
|---|---|
static Latch |
CounterLatch.newSingleLatch() |
static Latch |
CounterLatch.newUnlimitedLatch() |
| 构造器和说明 |
|---|
RecursiveLatch(Latch delegate) |
Copyright © 2020. All rights reserved.