net.sf.ehcache.distribution
public final class RMICacheReplicatorFactory extends CacheEventListenerFactory
<cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory" properties=" replicateAsynchronously=true, replicatePuts=true replicateUpdates=true replicateUpdatesViaCopy=true replicateRemovals=true "/>
Version: $Id: RMICacheReplicatorFactory.java 52 2006-04-24 14:50:03Z gregluck $
Method Summary | |
---|---|
CacheEventListener | createCacheEventListener(Properties properties)
Create a CacheEventListener which is also a CacheReplicator.
|
CacheEventListener
which is also a CacheReplicator.
The defaults if properties are not specified are:
Parameters: properties implementation specific properties. These are configured as comma
separated name value pairs in ehcache.xml e.g.
<cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
properties="
replicateAsynchronously=true,
replicatePuts=true
replicateUpdates=true
replicateUpdatesViaCopy=true
replicateRemovals=true
"/>
Returns: a constructed CacheEventListener