当前位置: 首页>>代码示例>>Java>>正文


Java CacheRegistryUtil.clear方法代码示例

本文整理汇总了Java中com.liferay.portal.kernel.cache.CacheRegistryUtil.clear方法的典型用法代码示例。如果您正苦于以下问题:Java CacheRegistryUtil.clear方法的具体用法?Java CacheRegistryUtil.clear怎么用?Java CacheRegistryUtil.clear使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.liferay.portal.kernel.cache.CacheRegistryUtil的用法示例。


在下文中一共展示了CacheRegistryUtil.clear方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all survey results.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(SurveyResultImpl.class.getName());
	}

	EntityCacheUtil.clearCache(SurveyResultImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:20,代码来源:SurveyResultPersistenceImpl.java

示例2: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all payment files.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(PaymentFileImpl.class.getName());
	}

	EntityCacheUtil.clearCache(PaymentFileImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:PaymentFilePersistenceImpl.java

示例3: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all process order2 users.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(ProcessOrder2UserImpl.class.getName());
	}

	EntityCacheUtil.clearCache(ProcessOrder2UserImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:ProcessOrder2UserPersistenceImpl.java

示例4: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all dictionary collections.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(DictCollectionImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DictCollectionImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:DictCollectionPersistenceImpl.java

示例5: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all legal detailses.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
    if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
        CacheRegistryUtil.clear(LegalDetailsImpl.class.getName());
    }

    EntityCacheUtil.clearCache(LegalDetailsImpl.class.getName());

    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:fraunhoferfokus,项目名称:govapps,代码行数:20,代码来源:LegalDetailsPersistenceImpl.java

示例6: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all profile datas.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(ProfileDataImpl.class.getName());
	}

	EntityCacheUtil.clearCache(ProfileDataImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:ProfileDataPersistenceImpl.java

示例7: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all activity tries deleteds.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(ActivityTriesDeletedImpl.class.getName());
	}

	EntityCacheUtil.clearCache(ActivityTriesDeletedImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:20,代码来源:ActivityTriesDeletedPersistenceImpl.java

示例8: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all a h offers.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
    if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
        CacheRegistryUtil.clear(AHOfferImpl.class.getName());
    }

    EntityCacheUtil.clearCache(AHOfferImpl.class.getName());

    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:fraunhoferfokus,项目名称:particity,代码行数:20,代码来源:AHOfferPersistenceImpl.java

示例9: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all dossier proc2 agents.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(DossierProc2AgentImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DossierProc2AgentImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:DossierProc2AgentPersistenceImpl.java

示例10: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all module results.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(ModuleResultImpl.class.getName());
	}

	EntityCacheUtil.clearCache(ModuleResultImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:20,代码来源:ModuleResultPersistenceImpl.java

示例11: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all step transitions.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(StepTransitionImpl.class.getName());
	}

	EntityCacheUtil.clearCache(StepTransitionImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:StepTransitionPersistenceImpl.java

示例12: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all applications.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(ApplicationImpl.class.getName());
	}

	EntityCacheUtil.clearCache(ApplicationImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:ApplicationPersistenceImpl.java

示例13: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all a h addrs.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
    if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
        CacheRegistryUtil.clear(AHAddrImpl.class.getName());
    }

    EntityCacheUtil.clearCache(AHAddrImpl.class.getName());

    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
    FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:fraunhoferfokus,项目名称:particity,代码行数:20,代码来源:AHAddrPersistenceImpl.java

示例14: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all user activities.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(UserActivityImpl.class.getName());
	}

	EntityCacheUtil.clearCache(UserActivityImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:UserActivityPersistenceImpl.java

示例15: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入方法依赖的package包/类
/**
 * Clears the cache for all statistic by users.
 *
 * <p>
 * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
 * </p>
 */
@Override
public void clearCache() {
	if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
		CacheRegistryUtil.clear(StatisticByUserImpl.class.getName());
	}

	EntityCacheUtil.clearCache(StatisticByUserImpl.class.getName());

	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
	FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:20,代码来源:StatisticByUserPersistenceImpl.java


注:本文中的com.liferay.portal.kernel.cache.CacheRegistryUtil.clear方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。