. * "near-cache": Configuration options when you want to use a Near Cache for your map. write-delay-seconds: 60 write-batch-size: 1000 write-coalescing: true properties: jdbc_url: my.jdbc.com near-cache
Near cache的配置都在near-cache元素中。下面介绍Near cache的相关参数。 <map name="my-read-mostly-map"> <near-cache name="default"> <in-memory-format>BINARY</in-memory-format invalidate-on-change>true</invalidate-on-change> <cache-local-entries>false</cache-local-entries> </near-cache