BufferPool to use by default. Setting the system property DISABLE_CACHING_PROPERTY to true will
cause the QuiescentBufferPool to be used by default. Otherwise, CachingBufferPool will be used by default.
setDefaultPool(BufferPool) can be used to explicitly control the implementation to use.
| Modifier and Type | Field and Description |
|---|---|
| private static volatile BufferPool | |
| public static final String | DISABLE_CACHING_PROPERTY
Name of system property to disable use of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static BufferPool | |
| public static void | setDefaultPool(BufferPool
The default instance to use. Must not be pool)null.Sets the default instance to use. |
| defaultPool | back to summary |
|---|---|
| private static volatile BufferPool defaultPool | |
| DISABLE_CACHING_PROPERTY | back to summary |
|---|---|
| public static final String DISABLE_CACHING_PROPERTY Name of system property to disable use of | |
| DefaultPoolFactory | back to summary |
|---|---|
| public DefaultPoolFactory() | |
| getDefaultPool | back to summary |
|---|---|
public static BufferPool getDefaultPool()
| |
| setDefaultPool | back to summary |
|---|---|
| public static void setDefaultPool(BufferPool pool) Sets the default instance to use.
| |