+ private long policyDeployCount;
+ private long policyDeploySuccessCount;
+ private long policyDeployFailCount;
+ private long policyUndeployCount;
+ private long policyUndeploySuccessCount;
+ private long policyUndeployFailCount;
+ private List<PdpEngineWorkerStatistics> engineStats;
+
+ /**
+ * Constructs the object, making a deep copy.
+ *
+ * @param source source from which to copy
+ */
+ public PdpStatistics(@NonNull PdpStatistics source) {
+ this.pdpInstanceId = source.pdpInstanceId;
+ this.timeStamp = source.timeStamp;
+ this.generatedId = source.generatedId;
+ this.pdpGroupName = source.pdpGroupName;
+ this.pdpSubGroupName = source.pdpSubGroupName;
+ this.policyExecutedCount = source.policyExecutedCount;
+ this.policyExecutedFailCount = source.policyExecutedFailCount;
+ this.policyExecutedSuccessCount = source.policyExecutedSuccessCount;
+ this.policyDeployCount = source.policyDeployCount;
+ this.policyDeployFailCount = source.policyDeployFailCount;
+ this.policyDeploySuccessCount = source.policyDeploySuccessCount;
+ this.policyUndeployCount = source.policyUndeployCount;
+ this.policyUndeployFailCount = source.policyUndeployFailCount;
+ this.policyUndeploySuccessCount = source.policyUndeploySuccessCount;
+ this.engineStats = PfUtils.mapList(source.engineStats, PdpEngineWorkerStatistics::new, null);
+ }