T
- the generic typepublic 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. Any resource intensive computation related to the event must be done offline.
LensEvent
Modifier and Type | Field and Description |
---|---|
static String |
HANDLER_METHOD_NAME
The Constant HANDLER_METHOD_NAME.
|
static final String HANDLER_METHOD_NAME
void onEvent(T event) throws LensException
event
- the eventLensException
- the lens exceptionCopyright © 2014–2016 Apache Software Foundation. All rights reserved.