public class PrefetchWorkerExecutorService
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
PrefetchWorkerExecutorService.GracefullyCloser |
| Modifier and Type | Field and Description |
|---|---|
static PrefetchWorkerExecutorService |
DEFAULT |
static java.time.Duration |
DEFAULT_PREFETCH_PERIOD |
| Constructor and Description |
|---|
PrefetchWorkerExecutorService(java.time.Duration prefetchPeriod,
int corePoolSize) |
PrefetchWorkerExecutorService(java.time.Duration prefetchPeriod,
int corePoolSize,
boolean shutdownHook) |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdown() |
void |
submit(AffinityJob affinityJob) |
public static final java.time.Duration DEFAULT_PREFETCH_PERIOD
public static final PrefetchWorkerExecutorService DEFAULT
public PrefetchWorkerExecutorService(java.time.Duration prefetchPeriod,
int corePoolSize)
public PrefetchWorkerExecutorService(java.time.Duration prefetchPeriod,
int corePoolSize,
boolean shutdownHook)
public void shutdown()
public void submit(AffinityJob affinityJob)