1 7 package org.jboss.cache; 8 9 import org.jgroups.View; 10 11 import java.util.Map ; 12 13 20 public abstract class AbstractCacheListener implements CacheListener 21 { 22 public void nodeCreated(Fqn fqn, boolean pre, boolean isLocal) 23 { 24 } 25 26 public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, ModificationType modType, Map data) 27 { 28 } 29 30 public void nodeRemoved(Fqn fqn, boolean pre, boolean isLocal, Map data) 31 { 32 } 33 34 public void nodeVisited(Fqn fqn, boolean pre) 35 { 36 } 37 38 public void nodeEvicted(Fqn fqn, boolean pre, boolean isLocal) 39 { 40 } 41 42 public void nodeLoaded(Fqn fqn, boolean pre, Map data) 43 { 44 } 45 46 public void nodeMoved(Fqn from, Fqn to, boolean pre, boolean isLocal) 47 { 48 } 49 50 public void nodeActivated(Fqn fqn, boolean pre) 51 { 52 } 53 54 public void nodePassivated(Fqn fqn, boolean pre) 55 { 56 } 57 58 public void cacheStarted(CacheSPI cache) 59 { 60 } 61 62 public void cacheStopped(CacheSPI cache) 63 { 64 } 65 66 public void viewChange(View new_view) 67 { 68 } 69 } 70 | Popular Tags |