|
1 |
| |
|
2 |
| |
|
3 |
| |
|
4 |
| |
|
5 |
| package com.opensymphony.oscache.base.algorithm; |
|
6 |
| |
|
7 |
| |
|
8 |
| |
|
9 |
| |
|
10 |
| |
|
11 |
| |
|
12 |
| |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| public final class UnlimitedCache extends AbstractConcurrentReadCache { |
|
17 |
| |
|
18 |
| |
|
19 |
| |
|
20 |
| |
|
21 |
64
| public UnlimitedCache() {
|
|
22 |
64
| super();
|
|
23 |
64
| maxEntries = UNLIMITED;
|
|
24 |
| } |
|
25 |
| |
|
26 |
| |
|
27 |
| |
|
28 |
| |
|
29 |
| |
|
30 |
| |
|
31 |
16
| public void setMaxEntries(int maxEntries) {
|
|
32 |
| } |
|
33 |
| |
|
34 |
| |
|
35 |
| |
|
36 |
| |
|
37 |
| |
|
38 |
2000276
| protected void itemRetrieved(Object key) {
|
|
39 |
| } |
|
40 |
| |
|
41 |
| |
|
42 |
| |
|
43 |
| |
|
44 |
| |
|
45 |
248
| protected void itemPut(Object key) {
|
|
46 |
| } |
|
47 |
| |
|
48 |
| |
|
49 |
| |
|
50 |
| |
|
51 |
| |
|
52 |
8
| protected Object removeItem() {
|
|
53 |
8
| return null;
|
|
54 |
| } |
|
55 |
| |
|
56 |
| |
|
57 |
| |
|
58 |
| |
|
59 |
| |
|
60 |
54
| protected void itemRemoved(Object key) {
|
|
61 |
| } |
|
62 |
| } |