Create a new LwwTime
that has a timestamp
that is
max
of the given timestamp and previous timestamp + 1,
i.e.
Create a new LwwTime
that has a timestamp
that is
max
of the given timestamp and previous timestamp + 1,
i.e. monotonically increasing.
Compare this LwwTime
with the other
.
Compare this LwwTime
with the other
.
Greatest timestamp wins. If both timestamps are
equal the dc
identifiers are compared and the
one sorted first in alphanumeric order wins.
Utility class for comparing timestamp and data center identifier when implementing last-writer wins.