Class QueryReplayer
java.lang.Object
com.illumon.iris.db.tables.streaming.QueryReplayer
- All Implemented Interfaces:
StatusObserver
,Serializable
Query replay framework.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.illumon.iris.db.tables.streaming.StatusObserver
StatusObserver.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondownloadTable
(String tableName, String tableDestinationPath) void
handleIncoming
(SocketChannel channel) void
boolean
isDone()
void
listenDone
(StatusObserver.Listener listener) listenToTable
(String tableName, String iterationFormula) static StatusObserver
replayTable
(Table table, String iterationFormula) void
setProcessorConnection
(QueryProcessorConnection processorConnection) boolean
waitDone
(long timeout)
-
Constructor Details
-
QueryReplayer
-
-
Method Details
-
initAcceptor
public void initAcceptor() -
handleIncoming
- Throws:
IOException
-
isDone
public boolean isDone()- Specified by:
isDone
in interfaceStatusObserver
-
waitDone
public boolean waitDone(long timeout) - Specified by:
waitDone
in interfaceStatusObserver
-
listenDone
- Specified by:
listenDone
in interfaceStatusObserver
-
setProcessorConnection
-
downloadTable
public StatusObserver downloadTable(String tableName, String tableDestinationPath) throws IOException - Throws:
IOException
-
listenToTable
- Throws:
IOException
-
replayTable
-
getTableNames
-