public interface ICounterFactory
CounterManager
and creates a counter for every reader or writer class.
CounterManager.getInstance().registerCounter(new SystemOutCounterFactory());
SystemOutCounterFactory
is just an example of ICounterFactory
implementation. It creates SystemOutCounter
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 |
---|---|
ICounter |
getCounter(Class> cls) |
Copyright © 1998–2018 iText Group NV. All rights reserved.