org.apache.lens.server
Class MetricsServiceImpl.AsyncQueryStatusListener
java.lang.Object
org.apache.lens.server.api.events.AsyncEventListener<StatusChange>
org.apache.lens.server.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.
- See Also:
AsyncQueryStatusEvent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsServiceImpl.AsyncQueryStatusListener
public MetricsServiceImpl.AsyncQueryStatusListener()
process
public void process(StatusChange event)
- Specified by:
process in class AsyncEventListener<StatusChange>
processCurrentStatus
protected void processCurrentStatus(org.apache.lens.api.query.QueryStatus.Status currentValue)
- Process current status.
- Parameters:
currentValue - the current value
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.