net.sf.ehcache.distribution

Interface CacheReplicator

public interface CacheReplicator extends CacheEventListener

Replicates cache entries to peers of the CacheManager

Version: $Id: CacheReplicator.java 52 2006-04-24 14:50:03Z gregluck $

Author: Greg Luck

Method Summary
booleanalive()
Checks that the replicator is is STATUS_ALIVE.
booleanisReplicateUpdatesViaCopy()
Returns whether update is through copy or invalidate
booleannotAlive()
Returns whether the replicator is not active.

Method Detail

alive

public boolean alive()
Checks that the replicator is is STATUS_ALIVE.

Returns: true if the replicator is is STATUS_ALIVE, else false.

isReplicateUpdatesViaCopy

public boolean isReplicateUpdatesViaCopy()
Returns whether update is through copy or invalidate

Returns: true if update is via copy, else false if invalidate

notAlive

public boolean notAlive()
Returns whether the replicator is not active.

Returns: true if the status is not STATUS_ALIVE