|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.dir.Group
org.egothor.dir.Tanker
public abstract class Tanker
A Tanker is a group of Barrels with the capability of inserting new
Barrels. The insertion often causes the reorganization of the active
Barrels of the group. The reorganization is then assured by Dynamizer.
| Field Summary |
|---|
| Fields inherited from class org.egothor.dir.Group |
|---|
cache |
| Constructor Summary | |
|---|---|
protected |
Tanker()
|
| Method Summary | |
|---|---|
void |
append(BarrelReader a)
Add the given Barrel to this Tanker. |
void |
close()
Close this Tanker. |
void |
commit()
Store the actual state of this Tanker. |
protected void |
commitEmit(int recordsx4,
long[] record4)
|
protected void |
commitEmitEnd()
|
void |
destroy()
Destroy this Tanker. |
Sequence<Barrel> |
elements()
Return the Barrels in this Tanker. |
abstract DocumentData |
expandDocMetadata(DocumentData ofBarrel,
Token[] interest)
Retrives the document data, but restrict the data block to the part relevant to some tokens of our interest. |
protected void |
finalize()
Calls close(). |
int |
getRootVersionID()
|
protected void |
initialize(Distributor<Barrel> dis,
Dynamizer dyn)
Constructor for the Tanker object. |
boolean |
isDirty()
Test whether this Tanker has been modified. |
void |
optimize()
Description of the Method |
| Methods inherited from class org.egothor.dir.Group |
|---|
deleted, expand, forEach, getBitmap, getCache, getCWI, getIListMeta, getMeta, initialize, initializeCache, initializeCache, initializeCache, initializeCache, iterate, open, openIList, query, query, removeDoc, resolve, setBitmap, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Tanker()
| Method Detail |
|---|
protected void initialize(Distributor<Barrel> dis,
Dynamizer dyn)
dis - handles requests of this Tankerdyn - takes care of reorganization if necessarypublic boolean isDirty()
public abstract DocumentData expandDocMetadata(DocumentData ofBarrel,
Token[] interest)
Group
expandDocMetadata in class Grouppublic Sequence<Barrel> elements()
elements in class Grouppublic void commit()
commit in interface Barrel
protected void commitEmit(int recordsx4,
long[] record4)
throws java.io.IOException
java.io.IOException
protected void commitEmitEnd()
throws java.io.IOException
java.io.IOExceptionpublic int getRootVersionID()
public void close()
close in interface Barrelclose in interface BarrelWriterclose in class Grouppublic void append(BarrelReader a)
append in interface BarrelWritera - the Barrel to addpublic void destroy()
destroy in interface Barreldestroy in class Grouppublic void optimize()
protected void finalize()
close().
finalize in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||