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 interfaceQueryReplayer.TablePlayerNested 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 StatusObserverdownloadTable(String tableName, String tableDestinationPath)Set<String>getTableNames()voidhandleIncoming(SocketChannel channel)voidinitAcceptor()booleanisDone()voidlistenDone(StatusObserver.Listener listener)StatusObserverlistenToTable(String tableName, String iterationFormula)static StatusObserverreplayTable(Table table, String iterationFormula)voidsetProcessorConnection(QueryProcessorConnection processorConnection)booleanwaitDone(long timeout)
-
Constructor Details
-
Method Details
-
initAcceptor
public void initAcceptor() -
handleIncoming
- Throws:
IOException
-
isDone
public boolean isDone()- Specified by:
isDonein interfaceStatusObserver
-
waitDone
public boolean waitDone(long timeout)- Specified by:
waitDonein interfaceStatusObserver
-
listenDone
- Specified by:
listenDonein interfaceStatusObserver
-
setProcessorConnection
-
downloadTable
public StatusObserver downloadTable(String tableName, String tableDestinationPath) throws IOException- Throws:
IOException
-
listenToTable
- Throws:
IOException
-
replayTable
-
getTableNames
-