Uses of Class
org.apache.lens.server.api.events.LensEvent

Packages that use LensEvent
org.apache.lens.server   
org.apache.lens.server.api.driver   
org.apache.lens.server.api.events   
org.apache.lens.server.api.query   
org.apache.lens.server.stats.event   
org.apache.lens.server.stats.event.query   
org.apache.lens.server.stats.store.log   
 

Uses of LensEvent in org.apache.lens.server
 

Methods in org.apache.lens.server with type parameters of type LensEvent
<T extends LensEvent>
void
EventServiceImpl.addListenerForType(LensEventListener<? super T> listener, Class<T> eventType)
           
<T extends LensEvent>
Collection<LensEventListener>
EventServiceImpl.getListeners(Class<T> eventType)
           
<T extends LensEvent>
void
EventServiceImpl.removeListenerForType(LensEventListener<? super T> listener, Class<T> eventType)
           
 

Methods in org.apache.lens.server that return types with arguments of type LensEvent
 Map<Class<? extends LensEvent>,List<LensEventListener>> EventServiceImpl.getEventListeners()
           
 

Methods in org.apache.lens.server with parameters of type LensEvent
 void EventServiceImpl.notifyEvent(LensEvent evt)
           
 

Uses of LensEvent in org.apache.lens.server.api.driver
 

Subclasses of LensEvent in org.apache.lens.server.api.driver
 class DriverEvent
          The Class DriverEvent.
 class DriverSessionStarted
          The Class DriverSessionStarted.
 

Uses of LensEvent in org.apache.lens.server.api.events
 

Classes in org.apache.lens.server.api.events with type parameters of type LensEvent
 class AsyncEventListener<T extends LensEvent>
          Event listeners should implement this class if they wish to process events asynchronously.
 interface LensEventListener<T extends LensEvent>
           The handler method should not block so that the event service can proceed to notifying other listeners as soon as possible.
 

Methods in org.apache.lens.server.api.events with type parameters of type LensEvent
<T extends LensEvent>
void
LensEventService.addListenerForType(LensEventListener<? super T> listener, Class<T> eventType)
          Add a listener for the given event type.
<T extends LensEvent>
Collection<LensEventListener>
LensEventService.getListeners(Class<T> changeType)
          Get all listeners of a particular type.
<T extends LensEvent>
void
LensEventService.removeListener(LensEventListener<? super T> listener)
          Remove this listener instance from all subscribed event types.
<T extends LensEvent>
void
LensEventService.removeListenerForType(LensEventListener<? super T> listener, Class<T> eventType)
          Remove listener for a given event type.
 

Methods in org.apache.lens.server.api.events with parameters of type LensEvent
 void LensEventService.notifyEvent(LensEvent event)
          Process an event, and notify all listeners interested in this event.
 

Uses of LensEvent in org.apache.lens.server.api.query
 

Subclasses of LensEvent in org.apache.lens.server.api.query
 class PriorityChange
          Event fired when query priority changes.
 class QueryAccepted
          The Class QueryAccepted.
 class QueryCancelled
          Event fired when query is cancelled.
 class QueryClosed
          Event fired when a query is closed.
 class QueryEnded
          Generic event denoting that query has ended.
 class QueryEvent<T>
          A generic event related to state change of a query Subclasses must declare the specific type of change they are interested in.
 class QueryExecuted
          Event fired when query is successfully completed by the driver.
 class QueryFailed
          Event fired when a query fails to execute.
 class QueryLaunched
          Event fired when query is LAUNCHED.
 class QueryQueued
          Event fired when a query is QUEUED.
 class QueryRejected
          The Class QueryRejected.
 class QueryRunning
          Event fired when query enters a RUNNING state.
 class QuerySuccess
          Event fired when query is successfully completed.
 class QueuePositionChange
          Event fired when query moves up or down in the execution engine's queue.
 class StatusChange
          The Class StatusChange.
 

Uses of LensEvent in org.apache.lens.server.stats.event
 

Subclasses of LensEvent in org.apache.lens.server.stats.event
 class LensStatistics
          Class used to capture statistics information for various components.
 class LoggableLensStatistics
          Loggable Lens Statistics which is logged to a log4j file as a JSON Object.
 

Uses of LensEvent in org.apache.lens.server.stats.event.query
 

Subclasses of LensEvent in org.apache.lens.server.stats.event.query
 class QueryExecutionStatistics
          Statistics class used to capture query information.
 

Uses of LensEvent in org.apache.lens.server.stats.store.log
 

Subclasses of LensEvent in org.apache.lens.server.stats.store.log
 class PartitionEvent
          Event class which encapsulates the partition information.
 



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