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 <[email protected]> 
Sent: Thursday, October 24, 2019 7:06 PM
To: [email protected]
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

Reply via email to