Remove duplicate registrations.
- MapEvent.class, MapEvent.Type.class, Versioned.class part of API,
and all the existing caller was supplying API as base namespace.
- MeterId, MapUpdate part of API
- Default{Device, Port} part of API
- WallClockTimestamp is always added by ECMap
Change-Id: I654c892549e6dddbe5e1f86dbb41d1ca4e84611f
diff --git a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
index 4f367f8..d2d450e 100644
--- a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
+++ b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
@@ -231,8 +231,8 @@
// Create a distributed map for port stats.
KryoNamespace.Builder deviceDataSerializer = KryoNamespace.newBuilder()
.register(KryoNamespaces.API)
- .register(MultiValuedTimestamp.class)
- .register(WallClockTimestamp.class);
+ .nextId(KryoNamespaces.BEGIN_USER_CUSTOM_ID)
+ .register(MultiValuedTimestamp.class);
devicePortStats = storageService.<DeviceId, Map<PortNumber, PortStatistics>>eventuallyConsistentMapBuilder()
.withName("port-stats")