org.compass.needle.coherence
Class InvocableCoherenceDirectory
java.lang.Object
org.apache.lucene.store.Directory
org.compass.needle.coherence.CoherenceDirectory
org.compass.needle.coherence.DataGridCoherenceDirectory
org.compass.needle.coherence.InvocableCoherenceDirectory
public class InvocableCoherenceDirectory
- extends DataGridCoherenceDirectory
The invocable directory uses Coherence extended support for invocable cache
services (not available at all editions).
Allow to better implement locking and batch deletions.
- Author:
- kimchy
| Methods inherited from class org.compass.needle.coherence.DataGridCoherenceDirectory |
close, createOutput, fileExists, fileLength, fileModified, getBucketSize, getCache, getFileNameKeyExtractor, getFlushRate, getIndexName, getIndexNameEqualsFilter, getIndexNameKeyExtractor, getOnGoingIndexOutputs, getTypeKeyExtractor, list, openInput, renameFile, touchFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocableCoherenceDirectory
public InvocableCoherenceDirectory(String cacheName)
InvocableCoherenceDirectory
public InvocableCoherenceDirectory(String cacheName,
String indexName)
InvocableCoherenceDirectory
public InvocableCoherenceDirectory(String cacheName,
String indexName,
int bucketSize)
InvocableCoherenceDirectory
public InvocableCoherenceDirectory(com.tangosol.net.NamedCache cache,
String indexName)
InvocableCoherenceDirectory
public InvocableCoherenceDirectory(com.tangosol.net.NamedCache cache,
String indexName,
int bucketSize)
InvocableCoherenceDirectory
public InvocableCoherenceDirectory(com.tangosol.net.NamedCache cache,
String indexName,
int bucketSize,
int flushRate)
doInit
protected void doInit()
- Overrides:
doInit in class DataGridCoherenceDirectory
deleteFile
public void deleteFile(String name)
throws IOException
- Overrides:
deleteFile in class DataGridCoherenceDirectory
- Throws:
IOException
deleteContent
public void deleteContent()
- Overrides:
deleteContent in class DataGridCoherenceDirectory
Copyright (c) 2004-2008 The Compass Project.