|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.dynamizer.Dynamizer
org.egothor.dynamizer.Egothor
public class Egothor
The Egothor object is a dynamizer that accepts only DynStruct objects.
Constructor Summary | |
---|---|
Egothor(int capacity)
Constructor for the Egothor object. |
Method Summary | |
---|---|
void |
add(BarrelReader reader)
Append a new DynStruct barrel to the existing data
structure. |
void |
add(BarrelReader reader,
java.lang.String srcLocation)
Pullovers (moves) a new org.egothor.core.DynStructReader to the
existing data structure. |
java.util.Properties |
getState(java.util.Properties state)
Return the properties of this Egothor. |
void |
optimize(boolean useSoftDelete)
Optimize the data structure following a delete (or remove) operation on the managed Barrels. |
void |
setState(java.util.Properties state)
Use the given properties for this object. |
Methods inherited from class org.egothor.dynamizer.Dynamizer |
---|
close, commit, destroy, elements, getSlotter, initializeUnderControl, isDirty, removeDoc, setSlotter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Egothor(int capacity)
#setCapacity
Method Detail |
---|
public void setState(java.util.Properties state)
state
- the desired propertiespublic java.util.Properties getState(java.util.Properties state)
state
- the properties which will be also returned for your
convenience
public void add(BarrelReader reader)
DynStruct
barrel to the existing data
structure. When the algorithm decides that it has to rebuild the
actual barrel structures it calls merger.
add
in class Dynamizer
reader
- the data structure to appendpublic void add(BarrelReader reader, java.lang.String srcLocation)
Dynamizer
org.egothor.core.DynStructReader
to the
existing data structure. When the algorithm decides that it has to
rebuild the actual barrel structures it must optimize.
add
in class Dynamizer
srcLocation
- location of the structure to be pulled overpublic void optimize(boolean useSoftDelete)
optimize
in class Dynamizer
useSoftDelete
- true
meand don't delete barrels directly, only
log them as dead barrels. false
means direct
delete
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |