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 |
disableShutdownHooks(EventDataHandler
Unregister shutdown hook for EventDataHandler registered with registerProcessAllShutdownHook(EventDataHandler) .
|
static |
disableTimedProcessing(EventDataHandler
Stop the timed processing thread registered with registerTimedProcessing(EventDataHandler) .
|
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 disableShutdownHooks(EventDataHandler dataHandler)
EventDataHandler
registered with registerProcessAllShutdownHook(EventDataHandler)
.
T
- the data signature type
V
- the data type
dataHandler
- the EventDataHandler
for which the hook will be unregistered
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
public staticEventData > void disableTimedProcessing(EventDataHandler dataHandler)
registerTimedProcessing(EventDataHandler)
.
T
- the data signature type
V
- the data type
dataHandler
- the EventDataHandler
for which the thread will be registered
Copyright © 1998–2021 iText Group NV. All rights reserved.