org.fjank.jcache.distribution
Class DistributionEngine

java.lang.Object
  extended by org.fjank.jcache.distribution.DistributionEngine
Direct Known Subclasses:
JGroupsDistributionEngine

public abstract class DistributionEngine
extends Object

Created by IntelliJ IDEA. User: Philippe Date: Jun 7, 2004 Time: 11:39:37 PM To change this template use Options | File Templates.


Field Summary
protected  CacheImpl cache
           
 
Constructor Summary
DistributionEngine()
           
 
Method Summary
 void cacheObjectAdded(String region, String group, Serializable key, Serializable data)
           
 void cacheObjectInvalidated(String region, Serializable key)
           
 void cacheObjectUpdated(String region, String group, Serializable key, Serializable data)
           
abstract  Enumeration getCacheAddr()
           
static DistributionEngine getInstance(CacheImpl cache)
           
protected  void handleClusterNotification(ClusterNotification clusterNotification)
           
abstract  void sendNotification(ClusterNotification clusterNotification)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

protected CacheImpl cache
Constructor Detail

DistributionEngine

public DistributionEngine()
Method Detail

getInstance

public static DistributionEngine getInstance(CacheImpl cache)

getCacheAddr

public abstract Enumeration getCacheAddr()

cacheObjectUpdated

public void cacheObjectUpdated(String region,
                               String group,
                               Serializable key,
                               Serializable data)

cacheObjectAdded

public void cacheObjectAdded(String region,
                             String group,
                             Serializable key,
                             Serializable data)
                      throws CacheException
Throws:
CacheException

cacheObjectInvalidated

public void cacheObjectInvalidated(String region,
                                   Serializable key)

handleClusterNotification

protected void handleClusterNotification(ClusterNotification clusterNotification)

sendNotification

public abstract void sendNotification(ClusterNotification clusterNotification)


Copyright © 2002-2009 Hosted by SourceForge. All Rights Reserved.