Code example for Cache

Methods: put

0
	/* (non-Javadoc) 
	 * @see com.solutionary.cache.PortletCacheInterface#put(java.lang.String, java.util.concurrent.Future) 
	 */ 
	 
	public void put(String key, Future<String> future){
		cache.put(key, future);
	} 
	 
	/* (non-Javadoc) 
	 * @see com.solutionary.cache.PortletCacheInterface#getSize() 
	 */ 
	 
	@ManagedAttribute(description="Cache Size") 
	public long getSize(){ 
		return cache.size();
	} 
 
	 
	/* (non-Javadoc) 
	 * @see com.solutionary.cache.PortletCacheInterface#cleanUp()