KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > tests > eviction > DummyEvictionPolicy


1 package org.jboss.cache.tests.eviction;
2
3 import org.jboss.cache.Fqn;
4 import org.jboss.cache.eviction.BaseEvictionPolicy;
5
6 /**
7  * @author Ben Feb 13, 2004
8  */

9 public class DummyEvictionPolicy extends BaseEvictionPolicy
10 {
11    public void evict(Fqn fqn) throws Exception JavaDoc
12    {
13       // no-op
14
// throw new RuntimeException("Testing only");
15
}
16 }
17
Popular Tags