iText 8.0.2 API
iText.Commons.Actions.AbstractStatisticsAggregator Class Referenceabstract

Abstract class for statistics aggregation. More...

Inheritance diagram for iText.Commons.Actions.AbstractStatisticsAggregator:
iText.Kernel.Pdf.Statistics.NumberOfPagesStatisticsAggregator iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsAggregator

Public Member Functions

abstract void  Aggregate (AbstractStatisticsEvent @event)
  Aggregates data from the provided event. More...
 
abstract Object  RetrieveAggregation ()
  Retrieves aggregated data. More...
 
abstract void  Merge (AbstractStatisticsAggregator aggregator)
  Merges data from the provided aggregator into this aggregator. More...
 

Detailed Description

Abstract class for statistics aggregation.

Abstract class for statistics aggregation. Note that aggregator class must be thread safe.

Member Function Documentation

◆ Aggregate()

abstract void iText.Commons.Actions.AbstractStatisticsAggregator.Aggregate ( AbstractStatisticsEvent event )
pure virtual

◆ Merge()

abstract void iText.Commons.Actions.AbstractStatisticsAggregator.Merge ( AbstractStatisticsAggregator  aggregator )
pure virtual

Merges data from the provided aggregator into this aggregator.

Parameters
aggregator from which data will be taken.

Implemented in iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsAggregator, and iText.Kernel.Pdf.Statistics.NumberOfPagesStatisticsAggregator.

◆ RetrieveAggregation()

abstract Object iText.Commons.Actions.AbstractStatisticsAggregator.RetrieveAggregation ( )
pure virtual

Retrieves aggregated data.

Returns
aggregated data as System.Object

Implemented in iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsAggregator, and iText.Kernel.Pdf.Statistics.NumberOfPagesStatisticsAggregator.