T - The data signature class
V - The event data class
public class DataHandlerCounterEventData 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)
EventCounter
onEvent in class EventCounter
event - IEvent to count
metaInfo - the IMetaInfo that can hold information about event origin
Copyright © 1998–2019 iText Group NV. All rights reserved.