I am in the process of migrating my Java code from Riak Client 1.4 to Riak Client 2.0.
I'm storing a BinaryValue
in Riak 2.0, encapsulated in a RiakObject
. I need to provide my own ConflictResolver
to deal with siblings, but in order to do that I need to pull in other data. This data is derived from the key of the stored object.
In Riak 1.4, I used IRiakObject
, which exposed getKey()
. RiakObject
of Riak 2.0 does not offer this.
How is it possible to determine the Location
(specifically the key) of the object during ConflictResolver.resolve(List<RiakObject> siblings)
?