net.sf.ehcache.distribution
public class RMIBootstrapCacheLoaderFactory extends BootstrapCacheLoaderFactory
Version: $Id: RMIBootstrapCacheLoaderFactory.java 99 2006-05-29 10:38:56Z gregluck $
Field Summary | |
---|---|
static String | BOOTSTRAP_ASYNCHRONOUSLY
The property name expected in ehcache.xml for the bootstrap asyncrhonously switch. |
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 |
Method Summary | |
---|---|
BootstrapCacheLoader | createBootstrapCacheLoader(Properties properties)
Create a BootstrapCacheLoader
|
protected boolean | extractBootstrapAsynchronously(Properties properties)
Extracts the value of bootstrapAsynchronously from the properties
|
protected int | extractMaximumChunkSizeBytes(Properties properties) |
BootstrapCacheLoader
Parameters: properties implementation specific properties. These are configured as comma separated name value pairs in ehcache.xml
Returns: a constructed BootstrapCacheLoader
Parameters: properties
Parameters: properties