public interface IEventCounterFactory
EventCounterHandler
and creates a counter for every reader or writer class.
You can implement your own counter factory and register it like this: EventCounterHandler.getInstance().register(new SystemOutEventCounterFactory());
SystemOutEventCounterFactory
is just an example of IEventCounterFactory
implementation. It creates SystemOutEventCounter
that writes info about files being read and written to the System.out
This functionality can be used to create metrics in a SaaS context.
Modifier and Type | Method and Description |
---|---|
EventCounter |
getCounter(Class> cls) |
EventCounter getCounter(Class> cls)
Copyright © 1998–2023 iText Group NV. All rights reserved.