List of usage examples for com.liferay.portal.kernel.cache PortalCache removeAll
@Proxy public void removeAll();
From source file:br.com.thiagomoreira.liferay.plugins.ConfigurationAction.java
License:Apache License
@Override public void processAction(PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { super.processAction(portletConfig, actionRequest, actionResponse); PortalCache<Serializable, Object> portalCache = SingleVMPoolUtil .getCache(MarkdownDisplayPortlet.class.getName()); portalCache.removeAll(); }
From source file:com.rivetlogic.portlet.whiteboard.portlet.WhiteboardPortlet.java
License:Open Source License
@Override public void init() throws PortletException { super.init(); @SuppressWarnings("rawtypes") PortalCache portalCache = MultiVMPoolUtil.getCache(WhiteboardHandler.CACHE_NAME); portalCache.removeAll(); }