public class ResultFormatter extends AsyncEventListener<QueryExecuted>
HANDLER_METHOD_NAME
Constructor and Description |
---|
ResultFormatter(QueryExecutionServiceImpl queryService,
LogSegregationContext logSegregationContext)
Instantiates a new result formatter.
|
Modifier and Type | Method and Description |
---|---|
void |
process(QueryExecuted event)
Should implement the actual event handling.
|
getEventQueue, onEvent, stop
public ResultFormatter(QueryExecutionServiceImpl queryService, @NonNull LogSegregationContext logSegregationContext)
queryService
- the query servicepublic void process(QueryExecuted event)
AsyncEventListener
process
in class AsyncEventListener<QueryExecuted>
event
- the eventCopyright © 2014–2015 Apache Software Foundation. All rights reserved.