T - The data signature classV - The event data classpublic class DataHandlerCounter<T,V extends EventData<T>> extends EventCounter
EventDataHandler.
Registers shutdown hook and thread for triggering event processing after wait time| Constructor and Description |
|---|
DataHandlerCounter(EventDataHandler<T,V> dataHandler) |
DataHandlerCounter(EventDataHandler<T,V> dataHandler,
IContext fallback) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onEvent(IEvent event,
IMetaInfo metaInfo)
The method that should be overridden for actual event processing
|
public DataHandlerCounter(EventDataHandler<T,V> dataHandler)
public DataHandlerCounter(EventDataHandler<T,V> dataHandler, IContext fallback)
protected void onEvent(IEvent event, IMetaInfo metaInfo)
EventCounteronEvent in class EventCounterevent - IEvent to countmetaInfo - the IMetaInfo that can hold information about event originCopyright © 1998–2019 iText Group NV. All rights reserved.