ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wychoi <wyc...@bistel.co.kr>
Subject Re: remove cache on high-speed
Date Tue, 24 Nov 2015 07:34:05 GMT
hi 
ongoing stop/start of some server node after the whole cache clearing
All caches have been removed. (cache -scan -c=CACHE_NAME) : confirm empty 

But remain few cache in cacheMetricsMxBean of visualvm 

Then i see that some entities got resurrected

this is code snipet

	public boolean remove(String cacheName, Long key, Integer part) throws
IgniteException {

		Ignite ignite = Ignition.ignite();

		AffinityKey affKey = new AffinityKey(key, part);

		IgniteCache<AffinityKey, XObject> cache = ignite.cache(cacheName);		
		
		result = cache.remove(affKey);
		
		cache.clear(affKey);		

		return result;
	}	



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/remove-cache-on-high-speed-tp2039p2044.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message