Replace UnsignedInt32Counter by LongAdder
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / stats / rib / impl / RIBImplRuntimeMXBeanImpl.java
index 4d9894f5a2cd820160b51074b50f8a1d9463bc0e..01e8c7ceacc29df1b4741672ed581f699513cde5 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.protocol.bgp.rib.impl.stats.rib.impl;
 
+import java.util.concurrent.atomic.LongAdder;
 import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 import org.opendaylight.controller.config.yang.bgp.rib.impl.BgpRenderState;
-import org.opendaylight.protocol.bgp.rib.impl.stats.UnsignedInt32Counter;
 import org.opendaylight.protocol.bgp.rib.impl.stats.peer.route.PerTableTypeRouteCounter;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.RibId;
@@ -38,12 +38,12 @@ public class RIBImplRuntimeMXBeanImpl implements BGPRenderStats {
     }
 
     @Override
-    public UnsignedInt32Counter getConfiguredPeerCounter() {
+    public LongAdder getConfiguredPeerCounter() {
         return this.renderStats.getConfiguredPeerCounter();
     }
 
     @Override
-    public UnsignedInt32Counter getConnectedPeerCounter() {
+    public LongAdder getConnectedPeerCounter() {
         return this.renderStats.getConnectedPeerCounter();
     }
 }