This project has retired. For details please refer to its Attic page.
MetricsServiceImpl.AsyncQueryStatusListener (Lens 2.1.0-beta-incubating API)

org.apache.lens.server.metrics
Class MetricsServiceImpl.AsyncQueryStatusListener

java.lang.Object
  extended by org.apache.lens.server.api.events.AsyncEventListener<StatusChange>
      extended by org.apache.lens.server.metrics.MetricsServiceImpl.AsyncQueryStatusListener
All Implemented Interfaces:
LensEventListener<StatusChange>
Enclosing class:
MetricsServiceImpl

public class MetricsServiceImpl.AsyncQueryStatusListener
extends AsyncEventListener<StatusChange>

The listener interface for receiving asyncQueryStatus events. The class that is interested in processing a asyncQueryStatus event implements this interface, and the object created with that class is registered with a component using the component's addAsyncQueryStatusListener method. When the asyncQueryStatus event occurs, that object's appropriate method is invoked.


Field Summary
 
Fields inherited from interface org.apache.lens.server.api.events.LensEventListener
HANDLER_METHOD_NAME
 
Constructor Summary
MetricsServiceImpl.AsyncQueryStatusListener()
           
 
Method Summary
 void process(StatusChange event)
          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

MetricsServiceImpl.AsyncQueryStatusListener

public MetricsServiceImpl.AsyncQueryStatusListener()
Method Detail

process

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

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


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