Class QueryReplayer
java.lang.Object
com.illumon.iris.db.tables.streaming.QueryReplayer
- All Implemented Interfaces:
StatusObserver
,Serializable
public class QueryReplayer extends Object implements Serializable, StatusObserver
Query replay framework.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
QueryReplayer.TablePlayer
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.streaming.StatusObserver
StatusObserver.Listener
-
Constructor Summary
Constructors Constructor Description QueryReplayer(Map<String,Object> tableMap)
-
Method Summary
Modifier and Type Method Description StatusObserver
downloadTable(String tableName, String tableDestinationPath)
Set<String>
getTableNames()
void
handleIncoming(SocketChannel channel)
void
initAcceptor()
boolean
isDone()
void
listenDone(StatusObserver.Listener listener)
StatusObserver
listenToTable(String tableName, String iterationFormula)
static StatusObserver
replayTable(Table table, String iterationFormula)
void
setProcessorConnection(QueryProcessorConnection processorConnection)
boolean
waitDone(long timeout)
-
Constructor Details
-
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
-