aboutsummaryrefslogtreecommitdiffstats
path: root/cps-service/src
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2022-08-29 12:35:33 +0100
committerToineSiebelink <toine.siebelink@est.tech>2022-08-29 12:35:33 +0100
commit6b2cdc63c02cc2d1a9bc9d43997ab14e740d7973 (patch)
tree68bb0534bf74db93d8c0756ec210c0efa502eb91 /cps-service/src
parente2a699f90d9b755230ea960df21abef55bc305ce (diff)
Performance Improvement: Use hazelcast blocking queue
- Introducing hazelcast for queue and progress map - process batch of 100 at the time - decreased module sync watchdog sleeptime to 5 seconds - separate module sync tasks in new class and some other async preparations and easier testing - tests for batching in module sync watchdog - remove qualifiers annotation (support) where no longer needed Issue-ID: CPS-1210 Issue-ID: CPS-1126 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I0a7d3755bf774e27c5688741bddb01f427d4a8a7
Diffstat (limited to 'cps-service/src')
-rw-r--r--cps-service/src/main/java/org/onap/cps/spi/model/DataNode.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/spi/model/DataNode.java b/cps-service/src/main/java/org/onap/cps/spi/model/DataNode.java
index d80306bae8..c77daafb38 100644
--- a/cps-service/src/main/java/org/onap/cps/spi/model/DataNode.java
+++ b/cps-service/src/main/java/org/onap/cps/spi/model/DataNode.java
@@ -22,6 +22,7 @@
package org.onap.cps.spi.model;
+import java.io.Serializable;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
@@ -33,7 +34,9 @@ import lombok.Setter;
@Setter(AccessLevel.PROTECTED)
@Getter
@EqualsAndHashCode
-public class DataNode {
+public class DataNode implements Serializable {
+
+ private static final long serialVersionUID = 1482619410918597467L;
DataNode() { }