Code example for Cache

Methods: stats

0
		return cache.asMap().keySet(); 
	} 
 
	@Override 
	public long getCacheHits() { 
		return cache.stats().hitCount(); 
	} 
 
	@Override 
	public long getCacheMisses() { 
		return cache.stats().missCount(); 
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java