|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.indexer.partition.SyncDumper
public class SyncDumper
A dumper that will dump partitions synchronously.
Field Summary | |
---|---|
static java.lang.String |
PROP_DO_GC
|
static java.lang.String |
PROP_GC_INTERVAL
|
Constructor Summary | |
---|---|
SyncDumper()
Creates a SyncDumper |
Method Summary | |
---|---|
void |
dump(Stage s)
Dumps the given stage synchronously. |
void |
finish()
Indicates that we are finished indexing. |
int |
getQueueLength()
Gets the length of the queue that this dumper is using to store partitions before dumping them. |
void |
newProperties(com.sun.labs.util.props.PropertySheet ps)
|
void |
setSearchEngine(SearchEngine e)
Sets the search engine that this dumper will be dumping partitions for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@ConfigBoolean(defaultValue=true) public static final java.lang.String PROP_DO_GC
@ConfigInteger(defaultValue=5) public static final java.lang.String PROP_GC_INTERVAL
Constructor Detail |
---|
public SyncDumper()
Method Detail |
---|
public void setSearchEngine(SearchEngine e)
Dumper
setSearchEngine
in interface Dumper
e
- the engine that this dumper will be used bypublic int getQueueLength()
Dumper
getQueueLength
in interface Dumper
public void dump(Stage s)
dump
in interface Dumper
s
- a pipeline stage containing data to be dumped.public void finish()
Dumper
finish
in interface Dumper
public void newProperties(com.sun.labs.util.props.PropertySheet ps) throws com.sun.labs.util.props.PropertyException
newProperties
in interface com.sun.labs.util.props.Configurable
com.sun.labs.util.props.PropertyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |