public class RMIBootstrapCacheLoaderFactory extends BootstrapCacheLoaderFactory<RMIBootstrapCacheLoader>
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_MAXIMUM_CHUNK_SIZE_BYTES
The default maximum serialized size of the elements to request from a remote cache peer during bootstrap.
|
protected static int |
FIVE_KB
The lowest reasonable chunk size in bytes
|
static String |
MAXIMUM_CHUNK_SIZE_BYTES
The property name expected in ehcache.xml for the maximum chunk size in bytes
|
protected static int |
ONE_HUNDRED_MB
The highest reasonable chunk size in bytes
|
BOOTSTRAP_ASYNCHRONOUSLY| Constructor and Description |
|---|
RMIBootstrapCacheLoaderFactory() |
| Modifier and Type | Method and Description |
|---|---|
RMIBootstrapCacheLoader |
createBootstrapCacheLoader(Properties properties)
Create a
BootstrapCacheLoader |
protected int |
extractMaximumChunkSizeBytes(Properties properties) |
extractBoolean, extractBootstrapAsynchronously, extractLongpublic static final String MAXIMUM_CHUNK_SIZE_BYTES
protected static final int DEFAULT_MAXIMUM_CHUNK_SIZE_BYTES
protected static final int ONE_HUNDRED_MB
protected static final int FIVE_KB
public RMIBootstrapCacheLoader createBootstrapCacheLoader(Properties properties)
BootstrapCacheLoadercreateBootstrapCacheLoader in class BootstrapCacheLoaderFactory<RMIBootstrapCacheLoader>properties - implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xmlprotected int extractMaximumChunkSizeBytes(Properties properties)
properties - the properties passed by the CacheManager, read from the configuration fileCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.