1 22 package org.jboss.cache.invalidation; 23 24 import java.io.Serializable ; 25 26 45 46 public interface InvalidationGroup 47 { 48 52 public String getGroupName (); 53 54 58 public void invalidate (Serializable key); 59 60 66 public void invalidate (Serializable key, boolean asynchronous); 67 68 72 public void invalidate (Serializable [] keys); 73 74 80 public void invalidate (Serializable [] keys, boolean asynchronous); 81 82 85 public void invalidateAll(); 86 87 91 public void invalidateAll(boolean asynchronous); 92 93 112 public void addReference (); 113 114 117 public void removeReference (); 118 119 123 public int getReferenceCount (); 124 125 129 public void register (Invalidatable registered); 130 131 135 public void unregister (Invalidatable registered); 136 137 143 public void setAsynchronousInvalidation (boolean async); 144 145 148 public boolean getAsynchronousInvalidation (); 149 150 153 public InvalidationManagerMBean getInvalidationManager (); 154 155 } 156 | Popular Tags |