Author: navssurtani
Date: 2008-11-21 05:28:16 -0500 (Fri, 21 Nov 2008)
New Revision: 7182
Modified:
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java
Log:
Committed updates to SCI so that everything compiles :)
Modified: searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java
===================================================================
---
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java 2008-11-20
05:17:16 UTC (rev 7181)
+++
searchable/trunk/src/main/java/org/jboss/cache/search/SearchableCacheImpl.java 2008-11-21
10:28:16 UTC (rev 7182)
@@ -32,6 +32,7 @@
import org.jboss.cache.Node;
import org.jboss.cache.NodeNotExistsException;
import org.jboss.cache.Region;
+import org.jboss.cache.interceptors.base.CommandInterceptor;
import org.jboss.cache.config.Configuration;
import org.jgroups.Address;
@@ -422,4 +423,24 @@
{
cache.endBatch(successful);
}
+
+ public void removeInterceptor(Class<? extends CommandInterceptor>
interceptorType)
+ {
+ cache.removeInterceptor(interceptorType);
+ }
+
+ public void removeInterceptor(int position)
+ {
+ cache.removeInterceptor(position);
+ }
+
+ public void addInterceptor(CommandInterceptor i, Class<? extends
CommandInterceptor> afterInterceptor)
+ {
+ cache.addInterceptor(i, afterInterceptor);
+ }
+
+ public void addInterceptor(CommandInterceptor i, int position)
+ {
+ cache.addInterceptor(i, position);
+ }
}
Show replies by date