T
- The BootstrapCacheLoader type this Factory will createpublic abstract class BootstrapCacheLoaderFactory<T extends BootstrapCacheLoader> extends Object
Modifier and Type | Field and Description |
---|---|
static 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(Properties properties)
Create a
BootstrapCacheLoader |
protected boolean |
extractBoolean(Properties properties,
String prop,
boolean defaultValue)
Will retrieve the boolean value from the properties, defaulting if property isn't present
|
protected boolean |
extractBootstrapAsynchronously(Properties properties)
Extracts the value of bootstrapAsynchronously from the properties
|
protected long |
extractLong(Properties properties,
String prop,
long defaultValue)
Will retrieve the boolean value from the properties, defaulting if property isn't present
|
public static final String BOOTSTRAP_ASYNCHRONOUSLY
public abstract T createBootstrapCacheLoader(Properties properties)
BootstrapCacheLoader
properties
- implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xmlprotected boolean extractBootstrapAsynchronously(Properties properties)
properties
- the properties passed by the CacheManager, read from the configuration fileprotected boolean extractBoolean(Properties properties, String prop, boolean defaultValue)
properties
- the properties to useprop
- the property name to look fordefaultValue
- the default value if property is missingprotected long extractLong(Properties properties, String prop, long defaultValue)
properties
- the properties to useprop
- the property name to look fordefaultValue
- the default value if property is missingCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.