Use scheduleWithFixedDelay() for commit timeout 45/114245/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 29 Oct 2024 15:56:26 +0000 (16:56 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 29 Oct 2024 15:56:26 +0000 (16:56 +0100)
commit5f4863bd35c4b7311e2e2841cc45889435e8774c
tree30cb39bd68237e9ff41bb6384db055745bcbbd9a
parentf3ce719bbabb704d2af20b0886fab6a29f89fc53
Use scheduleWithFixedDelay() for commit timeout

Remove use of deprecated methods by using Java's Duration and pick the
superior strategy to prevent bursts.

Change-Id: Ib999135c503bc864081e5ad8f9f8326f1bc5987d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java