| Package | Description |
|---|---|
| com.itextpdf.kernel.counter | |
| com.itextpdf.kernel.counter.data |
| Constructor and Description |
|---|
DataHandlerCounter(EventDataHandler<T,V> dataHandler)
Create an instance with provided data handler and
UnknownContext.PERMISSIVE
fallback context. |
DataHandlerCounter(EventDataHandler<T,V> dataHandler,
IContext fallback)
Create an instance with provided data handler and fallback context.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,V extends EventData<T>> |
EventDataHandlerUtil.disableShutdownHooks(EventDataHandler<T,V> dataHandler)
Unregister shutdown hook for
EventDataHandler registered with
EventDataHandlerUtil.registerProcessAllShutdownHook(EventDataHandler). |
static <T,V extends EventData<T>> |
EventDataHandlerUtil.disableTimedProcessing(EventDataHandler<T,V> dataHandler)
Stop the timed processing thread registered with
EventDataHandlerUtil.registerTimedProcessing(EventDataHandler). |
static <T,V extends EventData<T>> |
EventDataHandlerUtil.registerProcessAllShutdownHook(EventDataHandler<T,V> dataHandler)
Registers shutdown hook for
EventDataHandler that will try to process all the events that are left. |
static <T,V extends EventData<T>> |
EventDataHandlerUtil.registerTimedProcessing(EventDataHandler<T,V> dataHandler)
Creates thread that will try to trigger event processing with time interval from
specified
EventDataHandler. |
Copyright © 1998–2021 iText Group NV. All rights reserved.