public class JGroupsCacheReplicatorFactory
extends com.fr.third.net.sf.ehcache.event.CacheEventListenerFactory
构造器和说明 |
---|
JGroupsCacheReplicatorFactory()
Empty arg constructor
|
限定符和类型 | 方法和说明 |
---|---|
com.fr.third.net.sf.ehcache.event.CacheEventListener |
createCacheEventListener(java.util.Properties properties) |
protected long |
extractAsynchronousReplicationIntervalMillis(java.util.Properties properties)
Extract the
ASYNCHRONOUS_REPLICATION_INTERVAL_MILLIS setting from the properties |
protected boolean |
extractBooleanProperty(java.util.Properties properties,
java.lang.String propertyName,
boolean defaultValue)
Extract a Boolean out of a Property
|
public com.fr.third.net.sf.ehcache.event.CacheEventListener createCacheEventListener(java.util.Properties properties)
createCacheEventListener
在类中 com.fr.third.net.sf.ehcache.event.CacheEventListenerFactory
protected long extractAsynchronousReplicationIntervalMillis(java.util.Properties properties)
ASYNCHRONOUS_REPLICATION_INTERVAL_MILLIS
setting from the propertiesprotected 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