public class ResultFormatter extends AsyncEventListener<QueryExecuted>
| Modifier and Type | Field and Description | 
|---|---|
| static org.apache.commons.logging.Log | LOGThe Constant LOG. | 
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, stoppublic ResultFormatter(QueryExecutionServiceImpl queryService, @NonNull LogSegregationContext logSegregationContext)
queryService - the query servicepublic void process(QueryExecuted event)
AsyncEventListenerprocess in class AsyncEventListener<QueryExecuted>event - the eventCopyright © 2014–2015 Apache Software Foundation. All rights reserved.