All,
In a multi threaded application, where writes have to be done in parallel, how can you implement “GEN_EQUAL” policy? We cannot use the same WritePolicy object because any other thread can update the “generation” value before the “put” happens for that record.
Another option would be to create a “WritePolicy” object for each record, but this will end up with “n” number of WritePolicy objects for n records.
Any help is appreciated.
Thanks.