Top Description Methods
net.sf.ehcache.distribution

public Interface CacheReplicator

extends CacheEventListener
Known Direct Implementers
net.sf.ehcache.distribution.RMISynchronousCacheReplicator
Imports
net.sf.ehcache.event.CacheEventListener

Replicates cache entries to peers of the CacheManager
Author
Greg Luck
Version
$Id: CacheReplicator.java 5594 2012-05-07 16:04:31Z cdennis $

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the replicator is is STATUS_ALIVE, else false.
alive
()

Checks that the replicator is is STATUS_ALIVE.

public boolean

Returns:

true if update is via copy, else false if invalidate
isReplicateUpdatesViaCopy
()

Returns whether update is through copy or invalidate

public boolean

Returns:

true if the status is not STATUS_ALIVE
notAlive
()

Returns whether the replicator is not active.

Inherited from net.sf.ehcache.event.CacheEventListener:
clonedisposenotifyElementEvictednotifyElementExpirednotifyElementPutnotifyElementRemovednotifyElementUpdatednotifyRemoveAll

Method Detail

aliveback to summary
public boolean alive()

Checks that the replicator is is STATUS_ALIVE.

Returns:boolean

true if the replicator is is STATUS_ALIVE, else false.

isReplicateUpdatesViaCopyback to summary
public boolean isReplicateUpdatesViaCopy()

Returns whether update is through copy or invalidate

Returns:boolean

true if update is via copy, else false if invalidate

notAliveback to summary
public boolean notAlive()

Returns whether the replicator is not active.

Returns:boolean

true if the status is not STATUS_ALIVE