1 |
| package org.jboss.cache.eviction; |
2 |
| |
3 |
| import org.jboss.cache.CacheSPI; |
4 |
| import org.jboss.cache.Fqn; |
5 |
| import org.jboss.cache.config.EvictionPolicyConfig; |
6 |
| |
7 |
| |
8 |
| |
9 |
| |
10 |
| public class DummyEvictionPolicy extends BaseEvictionPolicy |
11 |
| { |
12 |
10094
| public void evict(Fqn fqn) throws Exception
|
13 |
| { |
14 |
| |
15 |
| |
16 |
| } |
17 |
| |
18 |
0
| public int getWakeupIntervalSeconds()
|
19 |
| { |
20 |
0
| return 0;
|
21 |
| } |
22 |
| |
23 |
90
| public void setCache(CacheSPI cache)
|
24 |
| { |
25 |
| |
26 |
| } |
27 |
| |
28 |
0
| public EvictionAlgorithm getEvictionAlgorithm()
|
29 |
| { |
30 |
| |
31 |
0
| return null;
|
32 |
| } |
33 |
| |
34 |
0
| public Class<? extends EvictionPolicyConfig> getEvictionConfigurationClass()
|
35 |
| { |
36 |
0
| return null;
|
37 |
| } |
38 |
| |
39 |
| |
40 |
| } |