01: package org.compass.needle.coherence;
02:
03: import com.tangosol.net.NamedCache;
04: import org.apache.lucene.store.Directory;
05:
06: /**
07: * An extension on top of Lucene directory implemented by different Coherence
08: * based directories.
09: *
10: * @author kimchy
11: */
12: public abstract class CoherenceDirectory extends Directory {
13:
14: abstract public void deleteContent();
15:
16: abstract public NamedCache getCache();
17:
18: abstract public String getIndexName();
19:
20: abstract public int getBucketSize();
21: }
|