|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface BufferedDiskStrategy.Options
Options for the BufferedDiskStrategy.
| Field Summary | |
|---|---|
static String |
BUFFER_CAPACITY
The capacity in bytes of the direct ByteBuffer instances
allocated and managed by the DirectBufferPool (DEFAULT_BUFFER_CAPACITY). |
static String |
DEFAULT_BUFFER_CAPACITY
The default capacity of the allocated buffers. |
static String |
DEFAULT_POOL_CAPACITY
The default pool capacity (no limit). |
static String |
POOL_CAPACITY
The capacity of the DirectBufferPool is the maximum #of
direct ByteBuffer instances that may reside in the pool
(default "2147483647"). |
| Field Detail |
|---|
static final String POOL_CAPACITY
DirectBufferPool is the maximum #of
direct ByteBuffer instances that may reside in the pool
(default "2147483647").
Note: Placing a limit on the pool size could cause threads to
deadlock awaiting a direct buffer from the pool. For this reason is
it good practice to use
DirectBufferPool.acquire(long, TimeUnit) with a timeout.
static final String DEFAULT_POOL_CAPACITY
static final String BUFFER_CAPACITY
ByteBuffer instances
allocated and managed by the DirectBufferPool (DEFAULT_BUFFER_CAPACITY).
static final String DEFAULT_BUFFER_CAPACITY
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||