|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
DummyEvictionConfiguration.java | - | 100% | 66.7% | 75% |
|
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.cache.eviction; | |
8 | ||
9 | import org.jboss.cache.config.ConfigurationException; | |
10 | import org.jboss.cache.config.EvictionPolicyConfig; | |
11 | ||
12 | ||
13 | /** | |
14 | * @author Daniel Huang (dhuang@jboss.org) | |
15 | * @version $Revision: 1.6 $ | |
16 | */ | |
17 | public class DummyEvictionConfiguration implements EvictionPolicyConfig | |
18 | { | |
19 | 68 | public String getEvictionPolicyClass() |
20 | { | |
21 | 68 | return DummyEvictionPolicy.class.getName(); |
22 | } | |
23 | ||
24 | 68 | public void validate() throws ConfigurationException |
25 | { | |
26 | // no-op | |
27 | } | |
28 | ||
29 | 0 | public void reset() |
30 | { | |
31 | // no-op | |
32 | } | |
33 | } |
|