public final class EventDataHandlerUtil extends Object
EventDataHandler and comparator class, that can be used in EventDataCacheComparatorBased.
| Modifier and Type | Class and Description |
|---|---|
static class |
EventDataHandlerUtil.BiggerCountComparator<T,V extends EventData<T>>
Comparator class that can be used in EventDataCacheComparatorBased.
|
| Modifier and Type | Method and Description |
|---|---|
static |
registerProcessAllShutdownHook(EventDataHandler
Registers shutdown hook for EventDataHandler that will try to process all the events that are left.
|
static |
registerTimedProcessing(EventDataHandler
Creates thread that will try to trigger event processing with time interval from specified EventDataHandler
|
public staticEventData > void registerProcessAllShutdownHook(EventDataHandler dataHandler)
EventDataHandler that will try to process all the events that are left. It isn't guarantied that all events would be processed.
T - the data signature type
V - the data type
dataHandler - the EventDataHandler for which the hook will be registered
public staticEventData > void registerTimedProcessing(EventDataHandler dataHandler)
EventDataHandler
T - the data signature type
V - the data type
dataHandler - the EventDataHandler for which the thread will be registered
Copyright © 1998–2019 iText Group NV. All rights reserved.