KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > jmx > browser > model > service > CacheService


1 /*
2
3  * EJTools, the Enterprise Java Tools
4
5  *
6
7  * Distributable under LGPL license.
8
9  * See terms of license at www.gnu.org.
10
11  */

12
13 package org.ejtools.jmx.browser.model.service;
14
15
16
17 import java.io.Serializable JavaDoc;
18
19 import java.util.Enumeration JavaDoc;
20
21
22
23 /**
24
25  * Description of the Class
26
27  *
28
29  * @author letiemble
30
31  * @created 13 décembre 2001
32
33  * @version $Revision: 1.6 $
34
35  * @todo Javadoc to complete
36
37  */

38
39 public interface CacheService extends Serializable JavaDoc
40
41 {
42
43    /** Description of the Field */
44
45    public final int DOMAIN_TYPE = 0;
46
47    /** Description of the Field */
48
49    public final int RESOURCE_TYPE = 1;
50
51
52
53
54
55    /**
56
57     * Adds a feature to the Entity attribute of the CacheService object
58
59     *
60
61     * @param type Description of the Parameter
62
63     * @param key Description of the Parameter
64
65     * @param value Description of the Parameter
66
67     */

68
69    public void add(int type, Object JavaDoc key, Object JavaDoc value);
70
71
72
73
74
75    /**
76
77     * Description of the Method
78
79     *
80
81     * @param type Description of the Parameter
82
83     * @param key Description of the Parameter
84
85     */

86
87    public void remove(int type, Object JavaDoc key);
88
89
90
91
92
93    /**
94
95     * Description of the Method
96
97     *
98
99     * @param type Description of the Parameter
100
101     * @return Description of the Return Value
102
103     */

104
105    public Enumeration JavaDoc keys(int type);
106
107
108
109
110
111    /** Description of the Method */
112
113    public void clear();
114
115
116
117
118
119    /**
120
121     * Description of the Method
122
123     *
124
125     * @param type Description of the Parameter
126
127     * @param key Description of the Parameter
128
129     * @return Description of the Return Value
130
131     */

132
133    public Object JavaDoc get(int type, Object JavaDoc key);
134
135 }
136
137
Popular Tags