Modifier and Type | Method and Description |
---|---|
<T extends LensEvent> |
EventServiceImpl.addListenerForType(LensEventListener<? super T> listener,
Class<T> eventType) |
<T extends LensEvent> |
EventServiceImpl.getListeners(Class<T> eventType) |
<T extends LensEvent> |
EventServiceImpl.removeListenerForType(LensEventListener<? super T> listener,
Class<T> eventType) |
Modifier and Type | Method and Description |
---|---|
Map<Class<? extends LensEvent>,List<LensEventListener>> |
EventServiceImpl.getEventListeners() |
Modifier and Type | Method and Description |
---|---|
void |
EventServiceImpl.notifyEvent(LensEvent evt) |
Modifier and Type | Class and Description |
---|---|
class |
DriverEvent
The Class DriverEvent.
|
class |
DriverSessionStarted
The Class DriverSessionStarted.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
SchedulerAlarmEvent
This event is triggered by the AlarmService whenever a scheduled query needs to be scheduled.
|
Modifier and Type | Method and Description |
---|---|
<T extends LensEvent> |
LensEventService.addListenerForType(LensEventListener<? super T> listener,
Class<T> eventType)
Add a listener for the given event type.
|
<T extends LensEvent> |
LensEventService.getListeners(Class<T> changeType)
Get all listeners of a particular type.
|
<T extends LensEvent> |
LensEventService.removeListener(LensEventListener<? super T> listener)
Remove this listener instance from all subscribed event types.
|
<T extends LensEvent> |
LensEventService.removeListenerForType(LensEventListener<? super T> listener,
Class<T> eventType)
Remove listener for a given event type.
|
Modifier and Type | Method and Description |
---|---|
void |
LensEventService.notifyEvent(LensEvent event)
Process an event, and notify all listeners interested in this event.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionClosed |
class |
SessionEvent |
class |
SessionExpired |
class |
SessionOpened |
class |
SessionRestored |
Modifier and Type | Class and Description |
---|---|
class |
LensStatistics
Class used to capture statistics information for various components.
|
class |
LoggableLensStatistics
Loggable Lens Statistics which is logged to a log file as a JSON Object.
|
Modifier and Type | Class and Description |
---|---|
class |
QueryExecutionStatistics
Statistics class used to capture query information.
|
Modifier and Type | Class and Description |
---|---|
class |
PartitionEvent
Event class which encapsulates the partition information.
|
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.