org.apache.lens.server.query
Class QueryExecutionStatisticsGenerator

java.lang.Object
  extended by org.apache.lens.server.api.events.AsyncEventListener<QueryEnded>
      extended by org.apache.lens.server.query.QueryExecutionStatisticsGenerator
All Implemented Interfaces:
LensEventListener<QueryEnded>

public class QueryExecutionStatisticsGenerator
extends AsyncEventListener<QueryEnded>

Top level class which handles all Query Events.


Field Summary
 
Fields inherited from interface org.apache.lens.server.api.events.LensEventListener
HANDLER_METHOD_NAME
 
Constructor Summary
QueryExecutionStatisticsGenerator(QueryExecutionServiceImpl queryService, LensEventService eventService)
          Instantiates a new query execution statistics generator.
 
Method Summary
 void process(QueryEnded ended)
          Should implement the actual event handling.
 
Methods inherited from class org.apache.lens.server.api.events.AsyncEventListener
getEventQueue, onEvent, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryExecutionStatisticsGenerator

public QueryExecutionStatisticsGenerator(QueryExecutionServiceImpl queryService,
                                         LensEventService eventService)
Instantiates a new query execution statistics generator.

Parameters:
queryService - the query service
eventService - the event service
Method Detail

process

public void process(QueryEnded ended)
Description copied from class: AsyncEventListener
Should implement the actual event handling.

Specified by:
process in class AsyncEventListener<QueryEnded>
Parameters:
ended - the event


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.