Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static int |
BufferCapacityDef
The default buffer capacity for the
IRecordWriter and, for the IRecordReader, if applicable |
static int |
EliminationRatioComputationStepDef
A default value for the step of the elimination ratio recomputation
|
static boolean |
KeepMaximumRankDef
The default rank processing policy
|
static int |
SafeNumberOfResultsDef
A default value for the number of results which is considered safe for a reliable duplicate elimination
ratio.
|
static long |
TimeoutDef
The default timeout used by the
IRecordWriter and all IRecordReaders. |
static TimeUnit |
TimeUnitDef
The default timeout unit used by the
IRecordWriter and all IRecordReaders. |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
static URI |
dispatchNewWorker(URI loc,
String objectIdFieldName,
StatsContainer stats) |
static URI |
dispatchNewWorker(URI loc,
String objectIdFieldName,
String objectRankFieldName,
boolean keepMaximumRank,
long timeout,
TimeUnit timeUnit,
int bufferCapacity,
StatsContainer stats)
Static constructor
|
static URI |
dispatchNewWorker(URI loc,
String objectIdFieldName,
String objectRankFieldName,
boolean keepMaximumRank,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Static constructor
|
static URI |
dispatchNewWorker(URI loc,
String objectIdFieldName,
String objectRankFieldName,
boolean keepMaximumRank,
StatsContainer stats) |
void |
run()
Main working cycle:
Get a hashtable of distinct DocIDs (plus their ranks) Re-iterate the RS keeping only the RSs that have a matching DocID and Rank with the stored hashtable |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final long TimeoutDef
IRecordWriter and all IRecordReaders. Currently set to 60.public static final TimeUnit TimeUnitDef
IRecordWriter and all IRecordReaders. The current default unit is seconds.public static final int BufferCapacityDef
IRecordWriter and, for the IRecordReader, if applicablepublic static final boolean KeepMaximumRankDef
public static final int SafeNumberOfResultsDef
public static final int EliminationRatioComputationStepDef
public static URI dispatchNewWorker(URI loc, String objectIdFieldName, String objectRankFieldName, boolean keepMaximumRank, long timeout, TimeUnit timeUnit, int bufferCapacity, StatsContainer stats) throws Exception
loc - Locator of the incoming RSstats - keepMaximumRank - timeout - timeUnit - bufferCapacity - Exception - in case of errorpublic static URI dispatchNewWorker(URI loc, String objectIdFieldName, String objectRankFieldName, boolean keepMaximumRank, long timeout, TimeUnit timeUnit, StatsContainer stats) throws Exception
loc - Locator of the incoming RSstats - keepMaximumRank - timeout - timeUnit - Exception - in case of errorpublic static URI dispatchNewWorker(URI loc, String objectIdFieldName, StatsContainer stats) throws Exception
loc - stats - keepMaximumRank - Exceptionpublic static URI dispatchNewWorker(URI loc, String objectIdFieldName, String objectRankFieldName, boolean keepMaximumRank, StatsContainer stats) throws Exception
loc - objectIdFieldName - objectRankFieldName - keepMaximumRank - stats - ExceptionCopyright © 2017. All Rights Reserved.