public class NearRealtimeReaderTask extends PerfTask
Constructor and Description |
---|
NearRealtimeReaderTask(PerfRunData runData) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
doLogic()
Perform the task once (ignoring repetitions specification)
Return number of work items done by this task.
|
void |
setParams(String params)
Set the params of this task.
|
boolean |
supportsParams()
Sub classes that supports parameters must override this method to return true.
|
clone, getDepth, getLogMessage, getName, getParams, getRunData, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setup, shouldNeverLogAtStart, shouldNotRecordStats, tearDown, toString
public NearRealtimeReaderTask(PerfRunData runData)
public int doLogic() throws IOException
PerfTask
doLogic
in class PerfTask
IOException
public void setParams(String params)
PerfTask
public boolean supportsParams()
PerfTask
supportsParams
in class PerfTask
public void close() throws InterruptedException
close
in class PerfTask
InterruptedException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.