iText 7 7.1.8 API
iText.Kernel.Counter.EventCounter Class Referenceabstract

Class that can be extended if you want to count iText events, for example the number of documents that are being processed by iText. More...

Inheritance diagram for iText.Kernel.Counter.EventCounter:
iText.Kernel.Counter.DataHandlerCounter< T, V > iText.Kernel.Counter.DefaultEventCounter iText.Kernel.Counter.SystemOutEventCounter

Public Member Functions

  EventCounter ()
  Creates instance of this class that allows all events from unknown iText.Kernel.Counter.Context.IContext More...
 
  EventCounter (IContext fallback)
  Creates instance of this class with custom fallback iText.Kernel.Counter.Context.IContext More...
 

Detailed Description

Class that can be extended if you want to count iText events, for example the number of documents that are being processed by iText.

Class that can be extended if you want to count iText events, for example the number of documents that are being processed by iText.

Implementers may use this method to record actual system usage for licensing purposes (e.g. count the number of documents or the volume in bytes in the context of a SaaS license).

Constructor & Destructor Documentation

◆ EventCounter() [1/2]

iText.Kernel.Counter.EventCounter.EventCounter ( )
inline

Creates instance of this class that allows all events from unknown iText.Kernel.Counter.Context.IContext

◆ EventCounter() [2/2]

iText.Kernel.Counter.EventCounter.EventCounter ( IContext  fallback )
inline

Creates instance of this class with custom fallback iText.Kernel.Counter.Context.IContext

Parameters
fallback the iText.Kernel.Counter.Context.IContext that will be used in case the event context is unknown