You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Prasad Bhalerao <pr...@gmail.com> on 2019/10/24 23:05:57 UTC
Invalidate specific cache partitions
Hi,
1)Is there any way to invalidate specific cache partitions?
2) is there any way to invalidate the complete cache?
Thanks,
Prasad
RE: Invalidate specific cache partitions
Posted by al...@gmail.com.
Hi!
You can use IgniteCache.close() -- https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteCache.html#close--
Or IgniteCache.destroy() -- https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteCache.html#destroy--
To close or destroy a specific cache.
You can also set specific partition loss policies – if that’s your use case: https://apacheignite.readme.io/docs/partition-loss-policies
There is no way to invalidate specific partitions via public api.
Thanks, Alex
From: Prasad Bhalerao <pr...@gmail.com>
Sent: Thursday, October 24, 2019 7:06 PM
To: user@ignite.apache.org
Subject: Invalidate specific cache partitions
Hi,
1)Is there any way to invalidate specific cache partitions?
2) is there any way to invalidate the complete cache?
Thanks,
Prasad