Class ABTestMonitorValuesProvider
- java.lang.Object
-
- lumis.portal.monitor.AbstractMonitorValuesProvider
-
- lumis.service.analytics.abtest.track.ABTestMonitorValuesProvider
-
- All Implemented Interfaces:
Serializable
,IMonitorValuesProvider
public class ABTestMonitorValuesProvider extends AbstractMonitorValuesProvider
Provides values forMonitorFields.Event.Experiments
composite field.- Since:
- 14.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ABTestMonitorValuesProvider(Collection<ActiveExperimentVariant> activeExperiments)
This class' constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,List<? extends Serializable>>
initValues(SessionConfig sessionConfig, ITransaction transaction)
Initializes the monitoring values map.-
Methods inherited from class lumis.portal.monitor.AbstractMonitorValuesProvider
getValues
-
-
-
-
Constructor Detail
-
ABTestMonitorValuesProvider
public ABTestMonitorValuesProvider(Collection<ActiveExperimentVariant> activeExperiments)
This class' constructor.- Since:
- 14.0.0
-
-
Method Detail
-
initValues
protected Map<String,List<? extends Serializable>> initValues(SessionConfig sessionConfig, ITransaction transaction) throws Exception
Description copied from class:AbstractMonitorValuesProvider
Initializes the monitoring values map. This method will only be called once and the results will be cached. The implementations must not returnnull
. If no value is present, an empty map should be returned instead. Also, anynull
value in a list will be ignored, meaning that a list with onlynull
will be considered a empty list.- Specified by:
initValues
in classAbstractMonitorValuesProvider
- Parameters:
sessionConfig
- the session config.transaction
- the transaction.- Returns:
- the monitoring data map.
- Throws:
Exception
-
-