Stats recorder implementation which conditionally propogates IStatsRecorder
events to a target IStatsRecorder.
This class just applies configured rules about which events to propogate.
This testcase tests each IStatsRecorder method as implemented in ConditionalStatsRecorder
verifying that when configured not to propogate the "event", it doesn't, and when configured
to propogate the "event", it does.
A factory that produces IStatsRecorder implementations.
This factory interface is deprecated because the preferred approach is to
use Spring bean configuration to wire together your IStatsRecorder instances
rather than relying upon custom factories.
IStatsRecorder implementation which delegates to zero to many child IStatsRecorders.
This class allows you to use multiple stats recorders.
We invoke each child IStatsRecorder within a try-catch Throwable in order to
guarantee that no particular IStatsRecorder's failure will prevent propogation of
IStatsRecorder events to other children.
An IStatsRecorderFlags implementation backed by the StatsRecorderSettings
static singleton.
This implementation is required because StatsRecorderSettings is not just an
implementation that parses portal.properties - it also provides a static
singleton mechanism to update that configuration at runtime.
This class is responsible for maintaining the on/off settings
for each type of portal event that the StatsRecorder can record.
StatsRecorder will consult with this class before it attempts
to record an event.