|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.dir.BufferedTanker
public class BufferedTanker
The BufferedTanker object uses a small memory barrel as a cache. This object should be used when creating a new index, because it significantly improves speed of indexing.
Constructor Summary | |
---|---|
BufferedTanker(int cacheSize,
Tanker orig)
Constructor for the BufferedTanker object. |
|
BufferedTanker(Tanker orig)
|
Method Summary | |
---|---|
void |
append(BarrelReader a)
Add the contents of the given Barrel to the cache. |
void |
close()
|
void |
commit()
Store the actual state of this Tanker. |
void |
optimize()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferedTanker(int cacheSize, Tanker orig)
dis
- the Distributordyn
- the Dynamizerpublic BufferedTanker(Tanker orig)
Method Detail |
---|
public void commit()
public void optimize()
public void append(BarrelReader a)
a
- the Barrel to add to the cachepublic void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |