public static class PassingStorageAdapter.Tunable extends TunableConstants
| Modifier and Type | Field and Description |
|---|---|
int |
iterationQueueCapacity
If the iteration client needs more time then the read threads,
the queue fills up.
|
int |
terminationInfoSeconds
Thread termination writes a info log message, if we still wait for termination.
|
int |
terminationTimeoutSeconds
Maximum time to await the termination of all executor threads.
|
boolean |
useManagerThreadPool
User global thread pool are a separate one.
|
| Constructor and Description |
|---|
PassingStorageAdapter.Tunable() |
public int iterationQueueCapacity
A low number makes sense here just to make sure that the read threads are not waiting if the iterator client is doing some processing. We should never put a large number here, to keep overall memory capacity control within the cache and don't introduce additional buffers.
When the value is 0 a SynchronousQueue
is used.
public boolean useManagerThreadPool
public int terminationInfoSeconds
public int terminationTimeoutSeconds
public PassingStorageAdapter.Tunable()
cache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.