T
- The BootstrapCacheLoader type this Factory will createpublic abstract class BootstrapCacheLoaderFactory<T extends BootstrapCacheLoader>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOOTSTRAP_ASYNCHRONOUSLY
The property name expected in ehcache.xml for the bootstrap asyncrhonously switch.
|
Constructor and Description |
---|
BootstrapCacheLoaderFactory() |
Modifier and Type | Method and Description |
---|---|
abstract T |
createBootstrapCacheLoader(java.util.Properties properties)
Create a
BootstrapCacheLoader |
protected boolean |
extractBoolean(java.util.Properties properties,
java.lang.String prop,
boolean defaultValue)
Will retrieve the boolean value from the properties, defaulting if property isn't present
|
protected boolean |
extractBootstrapAsynchronously(java.util.Properties properties)
Extracts the value of bootstrapAsynchronously from the properties
|
protected long |
extractLong(java.util.Properties properties,
java.lang.String prop,
long defaultValue)
Will retrieve the boolean value from the properties, defaulting if property isn't present
|
public static final java.lang.String BOOTSTRAP_ASYNCHRONOUSLY
public abstract T createBootstrapCacheLoader(java.util.Properties properties)
BootstrapCacheLoader
properties
- implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xmlprotected boolean extractBootstrapAsynchronously(java.util.Properties properties)
properties
- the properties passed by the CacheManager, read from the configuration fileprotected boolean extractBoolean(java.util.Properties properties, java.lang.String prop, boolean defaultValue)
properties
- the properties to useprop
- the property name to look fordefaultValue
- the default value if property is missingprotected long extractLong(java.util.Properties properties, java.lang.String prop, long defaultValue)
properties
- the properties to useprop
- the property name to look fordefaultValue
- the default value if property is missing