|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.bootstrap.BootstrapCacheLoaderFactory
net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory
public class RMIBootstrapCacheLoaderFactory
A factory to create a configured RMIBootstrapCacheLoader
| Field Summary | |
|---|---|
static java.lang.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 java.lang.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 |
| Constructor Summary | |
|---|---|
RMIBootstrapCacheLoaderFactory()
|
|
| Method Summary | |
|---|---|
BootstrapCacheLoader |
createBootstrapCacheLoader(java.util.Properties properties)
Create a BootstrapCacheLoader |
protected boolean |
extractBootstrapAsynchronously(java.util.Properties properties)
Extracts the value of bootstrapAsynchronously from the properties |
protected int |
extractMaximumChunkSizeBytes(java.util.Properties properties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BOOTSTRAP_ASYNCHRONOUSLY
public static final java.lang.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
| Constructor Detail |
|---|
public RMIBootstrapCacheLoaderFactory()
| Method Detail |
|---|
public BootstrapCacheLoader createBootstrapCacheLoader(java.util.Properties properties)
BootstrapCacheLoader
createBootstrapCacheLoader in class BootstrapCacheLoaderFactoryproperties - implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xml
protected int extractMaximumChunkSizeBytes(java.util.Properties properties)
properties - protected boolean extractBootstrapAsynchronously(java.util.Properties properties)
properties -
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||