public class IOThreadPool extends Object
| Constructor and Description |
|---|
IOThreadPool(int ioThreadCount,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long timeout,
TimeUnit unit) |
boolean |
isTerminated() |
void |
shutdown() |
void |
submit(SendProducerBatchTask task) |
public IOThreadPool(int ioThreadCount,
String prefix)
public void submit(SendProducerBatchTask task)
public void shutdown()
public boolean isTerminated()
public boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023. All rights reserved.