Maintain EntityOwnershipStatistics 06/29406/6
authorMoiz Raja <moraja@cisco.com>
Sun, 11 Oct 2015 18:56:25 +0000 (11:56 -0700)
committerTom Pantelis <tpanteli@brocade.com>
Fri, 13 Nov 2015 00:39:57 +0000 (19:39 -0500)
commitac3065a7d9b6666aa51c1507d9e8143a0cb4db07
tree8b89de5dd0e88ba99a659889e6a4599ea917cd24
parent3253c4174c87236130310a0c901dcad2416619dd
Maintain EntityOwnershipStatistics

Implementing a LoadBalancing entity owner selection
strategy depends on our ability to find the load on
specific candidates. The EntityOwnershipStatistics collects
this information and provides query methods to access
ownership counts for candidates.

Change-Id: I7e812b15e8fb21e3be1aed10384600b9acb8bf20
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/AbstractEntityOwnerChangeListener.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnerChangeListener.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShard.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipStatistics.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipStatisticsTest.java [new file with mode: 0644]