KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2 * JBoss, the OpenSource J2EE webOS
3 *
4 * Distributable under LGPL license.
5 * See terms of license at gnu.org.
6 */

7 package org.jboss.test.cache.test.eviction;
8
9 import org.jboss.cache.eviction.BaseEvictionPolicy;
10 import org.jboss.cache.Fqn;
11
12 /**
13  * @author Ben Feb 13, 2004
14  */

15 public class DummyEvictionPolicy extends BaseEvictionPolicy
16 {
17    public void evict(Fqn fqn) throws Exception JavaDoc
18    {
19       // no-op
20
// throw new RuntimeException("Testing only");
21
}
22 }
23
Popular Tags