@Override public BucketBasicStatistics clone() { return (BucketBasicStatistics) super.clone(); }
long uniqueImpressions = container.getImpressionCounts().getUniqueUserCount(); jointRate = metric.estimateRate(uniqueImpressions, container.getJointActionCounts().getUniqueUserCount()); } catch (IllegalArgumentException iae) { if (LOGGER.isWarnEnabled()) container.setJointActionRate(jointRate); Map<Event.Name, ActionCounts> actionCounts = container.getActionCounts(); for (ActionCounts action : actionCounts.values()) { Event.Name actionName = action.getActionName(); container.setActionRates(actionRates);
@Override public AbstractContainerStatistics clone() { AbstractContainerStatistics cloned = (AbstractContainerStatistics) super.clone(); if (jointActionRate != null) { cloned.setJointActionRate(jointActionRate.clone()); } if (actionRates != null) { Map<Event.Name, ActionRate> clonedActions = new HashMap<>(); for (Entry<Name, ActionRate> entry : actionRates.entrySet()) { clonedActions.put(entry.getKey(), entry.getValue().clone()); } cloned.setActionRates(clonedActions); } return cloned; } }
@Override public BucketStatistics clone() { BucketStatistics cloned = (BucketStatistics) super.clone(); if (bucketComparisons != null) { Map<Bucket.Label, BucketComparison> clonedComparisons = new HashMap<>(); for (Entry<Label, BucketComparison> entry : bucketComparisons.entrySet()) { clonedComparisons.put(entry.getKey(), entry.getValue().clone()); } cloned.setBucketComparisons(clonedComparisons); } return cloned; } }
@Override public ExperimentBasicStatistics clone() { ExperimentBasicStatistics cloned = (ExperimentBasicStatistics) super.clone(); if (buckets != null) { Map<Bucket.Label, BucketBasicStatistics> clonedBuckets = new HashMap<>(); for (Entry<Label, BucketBasicStatistics> entry : buckets.entrySet()) { clonedBuckets.put(entry.getKey(), entry.getValue().clone()); } cloned.setBuckets(clonedBuckets); } return cloned; } }
@Override public ExperimentStatistics clone() { ExperimentStatistics cloned = (ExperimentStatistics) super.clone(); if (jointProgress != null) { cloned.setJointProgress(jointProgress.clone()); } if (experimentProgress != null) { cloned.setExperimentProgress(experimentProgress.clone()); } if (buckets != null) { Map<Bucket.Label, BucketStatistics> clonedBuckets = new HashMap<>(); for (Entry<Label, BucketStatistics> entry : buckets.entrySet()) { clonedBuckets.put(entry.getKey(), entry.getValue().clone()); } cloned.setBuckets(clonedBuckets); } if (actionProgress != null) { Map<Event.Name, ActionProgress> clonedActions = new HashMap<>(); for (Entry<Name, ActionProgress> entry : actionProgress.entrySet()) { clonedActions.put(entry.getKey(), entry.getValue().clone()); } cloned.setActionProgress(clonedActions); } return cloned; }