1 |
| |
2 |
| |
3 |
| |
4 |
| |
5 |
| |
6 |
| |
7 |
| package org.jboss.cache.eviction; |
8 |
| |
9 |
| |
10 |
| |
11 |
| |
12 |
| |
13 |
| |
14 |
| |
15 |
| |
16 |
| |
17 |
| public class FIFOPolicy extends BaseEvictionPolicy implements EvictionPolicy |
18 |
| { |
19 |
| private FIFOAlgorithm algorithm; |
20 |
| |
21 |
50
| public FIFOPolicy()
|
22 |
| { |
23 |
50
| super();
|
24 |
50
| algorithm = new FIFOAlgorithm();
|
25 |
| } |
26 |
| |
27 |
52
| public EvictionAlgorithm getEvictionAlgorithm()
|
28 |
| { |
29 |
52
| return algorithm;
|
30 |
| } |
31 |
| |
32 |
24
| public Class<FIFOConfiguration> getEvictionConfigurationClass()
|
33 |
| { |
34 |
24
| return FIFOConfiguration.class;
|
35 |
| } |
36 |
| } |