|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.jyu.phys.grain.sort.GrainBaseSorter
public abstract class GrainBaseSorter
The base class for all Grain sort classes.
Field Summary | |
---|---|
GrainEvent |
event
The current event. |
IHistogramFactory |
hfactory
Histograms are created with this factory. |
ITupleFactory |
tfactory
Tuples are created with this factory. |
ITree |
tree
Histograms are stored here. |
Constructor Summary | |
---|---|
GrainBaseSorter()
Creates a new instance of GrainGreatSorter |
Method Summary | |
---|---|
abstract void |
finalise()
Called when the thread is done. |
abstract void |
initialise()
Initialises the internal structures of the base sorter. |
abstract void |
process()
Processes the current event. |
void |
run()
|
void |
setSave(boolean save)
Reads a new event from EventStore and dispatches a process call. |
void |
setUp(java.util.concurrent.BlockingQueue es,
ITree tr,
IHistogramFactory hf,
ITupleFactory tf)
Sets up the infrastructure of the base sorter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public GrainEvent event
public ITree tree
public IHistogramFactory hfactory
public ITupleFactory tfactory
Constructor Detail |
---|
public GrainBaseSorter()
Method Detail |
---|
public void setUp(java.util.concurrent.BlockingQueue es, ITree tr, IHistogramFactory hf, ITupleFactory tf)
es
- tr
- hf
- public abstract void initialise()
public void setSave(boolean save)
public void run()
run
in interface java.lang.Runnable
public abstract void process()
public abstract void finalise()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |