registerStatistic

fun registerStatistic(statistic: Statistic): Boolean

Register a Statistic with this StatisticReport. This happens when the statistic is first created, as part of its constructor. Access to the List of statistics is synchronized on the list, to ensure atomic access among registrations and between registrations and enumeration of the list.

Parameters

statistic

The Statistic to be registered.