1 4 package net.jforum.cache; 5 6 import org.jboss.cache.Fqn; 7 import org.jboss.cache.TreeCache; 8 import org.jboss.cache.TreeCacheListener; 9 import org.jgroups.View; 10 11 15 public class JBossCacheListener implements TreeCacheListener 16 { 17 20 public void nodeCreated(Fqn fqn) {} 21 22 25 public void nodeRemoved(Fqn fqn) {} 26 27 30 public void nodeLoaded(Fqn fqn) {} 31 32 35 public void nodeEvicted(Fqn fqn) {} 36 37 40 public void nodeModified(Fqn fqn) 41 { 42 if (CacheEngine.NOTIFICATION.startsWith((String )fqn.get(0))) { 43 } 45 } 46 47 50 public void nodeVisited(Fqn fqn) {} 51 52 55 public void cacheStarted(TreeCache cache) {} 56 57 60 public void cacheStopped(TreeCache cache) {} 61 62 65 public void viewChange(View view) {} 66 } 67 | Popular Tags |