Initial implementation of the Shard Actor 89/8089/3
authorMoiz Raja <moraja@cisco.com>
Tue, 17 Jun 2014 20:41:01 +0000 (13:41 -0700)
committerMoiz Raja <moraja@cisco.com>
Tue, 17 Jun 2014 21:18:42 +0000 (14:18 -0700)
commit287688202f1166cfecf2149257de70ec627922fd
tree8a8b2107f227d22cce9892e8f9aaf97192193fae
parent5213be60d33416fe7da6081cab65308d42765e41
Initial implementation of the Shard Actor

Things to note,
- Added a temporary dependency on sal-broker-impl. This is so that I could use the InMemoryDOMDataStore.
  Once InMemoryDOMDataStore is moved to it's own bundle then I will simply switch the dependency
- Shard has been only implemented to the point where it is using an InMemoryDOMDataStore and handling the CreateTransaction and RegisterChangeListener messages
  This commit is intended to give a feel for what kind of coding patterns will be used to implement Shard and related actors and their tests

Change-Id: I86f0d701399805185a0987bb1b97fe1358ce4cd9
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/pom.xml
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ListenerRegistration.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionChain.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionChain.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CreateTransactionChainReply.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterChangeListener.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/RegisterChangeListenerReply.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractActorTest.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardTest.java [new file with mode: 0644]

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.