4

I was looking at example where one can take lock of a row in aerospike. Documents mentioned below says that it has support but can't find example form same.Can anybody please share method(s) which support these

Reference: https://docs.aerospike.com/display/V3/Key-Value+Store

4

1 回答 1

8

您可以通过在 WritePolicy 中设置适当的属性来做到这一点。例如,对于我们的 Java 客户端,您可以在此处查看详细信息:

http://www.aerospike.com/apidocs/java/com/aerospike/client/policy/WritePolicy.html

你想看看 GenerationPolicy:

http://www.aerospike.com/apidocs/java/com/aerospike/client/policy/GenerationPolicy.html

另请注意,我们的文档已更新,现在位于http://www.aerospike.com/docs

于 2015-05-27T01:46:42.110 回答