Code example for Cache

Methods: put

0
		return cache.getIfPresent(key); 
	} 
 
	@Override 
	public void put(Object key, Object value) { 
		cache.put(key, value); 
	} 
 
	@Override 
	public void remove(Object key) { 
		cache.invalidate(key); 
 
	} 
 
	@Override 
	public long size() { 
		return cache.size(); 
	} 
 
	@Override