BUG-5280: introduce the notion of client actor time 72/39572/39
authorRobert Varga <rovarga@cisco.com>
Sun, 29 May 2016 19:35:08 +0000 (21:35 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 21 Jun 2016 08:45:12 +0000 (10:45 +0200)
commitd8bc95c84030468dfe7d04b72499d798dd374331
tree8783d237fcd9d97c889ebed3889982f325db60b4
parent3ebd44f9b7a4a217222036c2889d2a04b4f1eb30
BUG-5280: introduce the notion of client actor time

Time is exposed as a Ticker, with the implementation returning
the system ticker.

Add a few basic tests and testin infrastructure to control
the Ticker's passage of time.

Change-Id: I2bb1a8d9555979d38434602d68d48aeef66ae78a
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/actors/client/ClientActorContext.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/common/actor/MessageTrackerTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/common/actor/TestTicker.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/actors/client/AbstractClientActorTest.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/actors/client/ClientActorContextTest.java [new file with mode: 0644]