KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jofti > api > CacheAccessor


1 /*
2  * Copyright (C) <2005> <Steve Woodcock>
3  *
4  * Created on Jun 5, 2005
5  *
6  */

7 package com.jofti.api;
8
9
10 /**
11  * Provides an interface for all Indexes so that the cache implementation
12  * is always accessable if any implementation specific methods need to be called.
13  * <p>
14  * Note: mutator methods called using the Cache directly will not update the index, unless using
15  * a listener Adapter, and
16  * will result in the index and cache becoming out of synch.
17  * <p>
18  * @author Steve Woodcock<br>
19  * @version 1.5<br>
20  */

21 public interface CacheAccessor {
22     
23      /**
24       * Obtains the underlying cache implementation.<br>
25      * @return the cache implementation.
26      */

27     public Object JavaDoc getCacheImpl();
28     
29
30     
31 }
32
Popular Tags