Code example for Cache

Methods: size

0
	 * @see com.solutionary.cache.PortletCacheInterface#getSize() 
	 */ 
	 
	@ManagedAttribute(description="Cache Size") 
	public long getSize(){ 
		return cache.size();
	} 
 
	 
	/* (non-Javadoc) 
	 * @see com.solutionary.cache.PortletCacheInterface#cleanUp() 
	 */ 
	 
	@ManagedOperation(description="Flush Cache") 
	public void cleanUp(){ 
		cache.cleanUp();
	} 
	 
	/* (non-Javadoc) 
	 * @see com.solutionary.cache.PortletCacheInterface#initialize()