|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.event.CacheEventListenerFactory net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory
public class JGroupsCacheReplicatorFactory
Constructor Summary | |
---|---|
JGroupsCacheReplicatorFactory()
Empty arg constructor |
Method Summary | |
---|---|
CacheEventListener |
createCacheEventListener(java.util.Properties properties)
Create a CacheEventListener |
protected long |
extractAsynchronousReplicationIntervalMillis(java.util.Properties properties,
java.lang.String propertyName,
long defaultValue)
Extract a long out of a string. |
protected boolean |
extractBooleanProperty(java.util.Properties properties,
java.lang.String propertyName,
boolean defaultValue)
Extract a Boolean out of a Property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JGroupsCacheReplicatorFactory()
Method Detail |
---|
public CacheEventListener createCacheEventListener(java.util.Properties properties)
CacheEventListener
createCacheEventListener
in class CacheEventListenerFactory
properties
- implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xml
protected long extractAsynchronousReplicationIntervalMillis(java.util.Properties properties, java.lang.String propertyName, long defaultValue)
properties
- the propertypropertyName
- the name of the propertydefaultValue
- the default value if none is found
protected boolean extractBooleanProperty(java.util.Properties properties, java.lang.String propertyName, boolean defaultValue)
properties
- the propertiespropertyName
- the name of the propertydefaultValue
- the deulat value id none is found
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |