public abstract class AbstractEvaluationModule extends AbstractStreamingEvaluationModule
evalModule2EvalStoreQueue, experimentUri, iterationFinished, iteratorId, receiver, requestNextResultPaircmdChannel, cmdQueueFactory, cmdResponseTimeout, DEFAULT_CMD_RESPONSE_TIMEOUT, defaultContainerTypeconnectionFactory, incomingDataQueueFactory, NUMBER_OF_RETRIES_TO_CONNECT_TO_RABBIT_MQ, outgoingDataQueuefactory, rabbitMQHostName, START_WAITING_TIME_BEFORE_RETRY| Constructor and Description |
|---|
AbstractEvaluationModule() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
evaluateResponse(byte[] expectedData,
byte[] receivedData,
long taskSentTimestamp,
long responseReceivedTimestamp)
Evaluates the given response pair.
|
protected void |
evaluateResponse(InputStream expectedData,
InputStream receivedData,
long taskSentTimestamp,
long responseReceivedTimestamp)
Evaluates the given response pair.
|
close, collectResponses, createDefaultModel, handleIncomingStream, handleIncomingStreams, init, receiveCommand, run, summarizeEvaluationaddContainerObserver, createContainer, getFactoryForIncomingCmdQueues, getFactoryForIncomingDataQueues, getFactoryForOutgoingCmdQueues, getFactoryForOutgoingDataQueues, stopContaineraddCommandHeaderId, createContainer, createContainer, getCmdResponseTimeout, handleCmd, sendToCmdQueue, sendToCmdQueue, sendToCmdQueue, setCmdResponseTimeoutcreateConnection, generateSessionQueueName, getHobbitSessionIdprotected void evaluateResponse(InputStream expectedData, InputStream receivedData, long taskSentTimestamp, long responseReceivedTimestamp) throws Exception
AbstractStreamingEvaluationModuleevaluateResponse in class AbstractStreamingEvaluationModuleexpectedData - the data that has been expectedreceivedData - the data that has been received from the systemtaskSentTimestamp - the time at which the task has been sent to the systemresponseReceivedTimestamp - the time at which the response has been received from the systemException - if an error occurs during the evaluationprotected abstract void evaluateResponse(byte[] expectedData,
byte[] receivedData,
long taskSentTimestamp,
long responseReceivedTimestamp)
throws Exception
expectedData - the data that has been expectedreceivedData - the data that has been received from the systemtaskSentTimestamp - the time at which the task has been sent to the systemresponseReceivedTimestamp - the time at which the response has been received from the
systemException - if an error occurs during the evaluationCopyright © 2017–2018. All rights reserved.