Eliminate ShardDataTree.CommitEntry 94/114294/6
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 1 Nov 2024 14:34:34 +0000 (15:34 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 2 Nov 2024 12:12:57 +0000 (13:12 +0100)
commitfa819d42c8aa0a052c90fe06e95f2c4e3dc88d96
treed22cd7e802e706d51a8dbdf4dc86eb62b4a16f33
parent1589296d1d97af9e42c31a53f8b12854fabdecb5
Eliminate ShardDataTree.CommitEntry

We are only ever carrying SimpleShardDataTreeCohorts and keep additional
last access time.

Integrate the last access time into SimpleShardDataTreeCohort,
eliminating one level of indirection.

JIRA: CONTROLLER-2131
Change-Id: I3a1e7be49cc0ddcdb92e90e37ce17489ebeaa139
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ChainedCommitCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/SimpleShardDataTreeCohort.java