KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > caching > CacheMgr


1 /* CacheMgr.java */
2
3 package org.enhydra.shark.api.internal.caching;
4
5
6 import org.enhydra.shark.api.*;
7 import org.enhydra.shark.api.internal.working.CallbackUtilities;
8
9 /**
10  * This inferface presents manager for process cache and recource cache.
11  *
12  * @author Sasa Bojanic
13  * @author Nenad Stefanovic
14  * @version 1.0
15  */

16 public interface CacheMgr {
17
18    /**
19     * Configures caches.
20     *
21     * @param cus an instance of CallbackUtilities used to get
22     * properties for configuring caches.
23     * @exception RootException Thrown if an error occurs.
24     */

25    void configure (CallbackUtilities cus) throws RootException;
26
27    /**
28     * Returns process cache.
29     *
30     * @return Process cache.
31     */

32    public ProcessCache getProcessCache ();
33
34    /**
35     * Returns resource cache.
36     *
37     * @return Resource cache.
38     */

39    public ResourceCache getResourceCache();
40
41
42 }
43 /* End of CacheMgr.java */
44
Popular Tags