Hi,
loadCache - will load all the keys and values from third party store
into Ignite. It can be used for initial loading and for restore of the
Ignite cache.
There are no incremental updates.
In case if you are going to do updates in the third party store not
using Ignite API then you also should do the same for Ignite.
However, you can use read-through and write-through properties. They can
help you to make your updates in 3-rd party store using Ignite API:
https://apacheignite.readme.io/docs/3rd-party-store#section-read-through-and-write-through
BR,
Andrei
3/23/2020 9:34 PM, nithin91 пишет:
Hi
I am trying to load the data into ignite cache using JDBC Pojo Store method
ignite.cache("cacheName").loadCache(null).I have used this method and got
the following results for the following scenarios.
*Scenario-1:Trying to load the same key which is available in cache*
In this case, the value part corresponding to the key is not updated in the
cache based on the latest available record.
*Scenario -2:When loading a key which is not present in cache.*
in this case, it is appending the new key and value pair to the cache and
preserving the old data.
But my doubt is why in scenario-1, it is not updating the value
corresponding to the when i am trying to load the same key.
Does this method do incremental load?.
Is this the expected behavior or do i need to set any additional property in
the bean file.Attaching you the bean configuration of the cache.
cache.xml
<http://apache-ignite-users.70518.x6.nabble.com/file/t2737/cache.xml>
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/