Methods Summary |
---|
protected org.apache.lucene.index.IndexModifier | createIndexModifier()
return null;
|
public void | destroy()
this.idGenerator.stopIDGenerator();
|
public void | forceWrite()
|
public int | getBufferSize()
return 1;
|
protected org.apache.lucene.store.Directory | getDirectory()
return null;
|
public int | getPersistFactor()
return 1;
|
public org.apache.lucene.gdata.storage.Storage | getStorage()
return new StorageImplementation();
|
protected StorageModifier | getStorageModifier()
try {
return new StorageModifierStub();
} catch (IOException e) {
e.printStackTrace();
} catch (StorageException e) {
e.printStackTrace();
}
return null;
|
protected org.apache.lucene.gdata.utils.ReferenceCounter | getStorageQuery()
ReferenceCounter<StorageQuery> retVal = new ReferenceCounter<StorageQuery>(new StorageQueryStub(null,null)){
@Override
protected void close() {
//
}
};
retVal.increamentReference();
retVal.increamentReference();
return retVal;
|
public void | initialize()
// this.setStorageDir(new RAMDirectory());
// super.initialize();
|
protected void | registerNewStorageQuery()
|
public synchronized java.lang.String | releaseId()
try {
return this.idGenerator.getUID();
} catch (InterruptedException e) {
throw new StorageException(e);
}
|
protected StorageBuffer | releaseNewStorageBuffer()
return null;
|
public void | setBufferSize(int storageBufferSize)
|
public void | setPersistFactor(int storagePersistFactor)
|