Hi,
It is possible to set ExpiryPolicy in CacheStore.loadCache method?
typically we do something like this:
public void loadCache(IgniteBiInClosure<String, BinaryObject> clo, Object... args)
{
...
clo.apply(key,value);
}
I have a test below code which will throw NullPointerException:
public void loadCache(IgniteBiInClosure<String, BinaryObject> clo, Object... args)
{
...
//clo.apply(key,value)
ignite.cache(cacheName).put(key,value);
}
please help. Thanks in advance.
ThanksShawn