01: /*
02: * Copyright (C) <2005> <Steve Woodcock>
03: *
04: * Created on Jun 5, 2005
05: *
06: */
07: package com.jofti.api;
08:
09: /**
10: * Provides an interface for all Indexes so that the cache implementation
11: * is always accessable if any implementation specific methods need to be called.
12: * <p>
13: * Note: mutator methods called using the Cache directly will not update the index, unless using
14: * a listener Adapter, and
15: * will result in the index and cache becoming out of synch.
16: * <p>
17: * @author Steve Woodcock<br>
18: * @version 1.5<br>
19: */
20: public interface CacheAccessor {
21:
22: /**
23: * Obtains the underlying cache implementation.<br>
24: * @return the cache implementation.
25: */
26: public Object getCacheImpl();
27:
28: }
|