public class JGroupsBootstrapCacheLoaderFactory
extends com.fr.third.net.sf.ehcache.bootstrap.BootstrapCacheLoaderFactory
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
BOOTSTRAP_ASYNCHRONOUSLY
The property name expected in ehcache.xml for the bootstrap asynchronously 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
|
构造器和说明 |
---|
JGroupsBootstrapCacheLoaderFactory() |
限定符和类型 | 方法和说明 |
---|---|
com.fr.third.net.sf.ehcache.bootstrap.BootstrapCacheLoader |
createBootstrapCacheLoader(java.util.Properties properties)
Create a
BootstrapCacheLoader |
protected boolean |
extractAndValidateBootstrapAsynchronously(java.util.Properties properties)
Extracts the value of bootstrapAsynchronously from the properties
|
protected int |
extractMaximumChunkSizeBytes(java.util.Properties properties)
Extracts the value of maximumChunkSizeBytes from the properties
|
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
public com.fr.third.net.sf.ehcache.bootstrap.BootstrapCacheLoader createBootstrapCacheLoader(java.util.Properties properties)
BootstrapCacheLoader
createBootstrapCacheLoader
在类中 com.fr.third.net.sf.ehcache.bootstrap.BootstrapCacheLoaderFactory
properties
- implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xmlprotected int extractMaximumChunkSizeBytes(java.util.Properties properties)
protected boolean extractAndValidateBootstrapAsynchronously(java.util.Properties properties)