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


Java CacheRegistryUtil类代码示例

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


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

示例1: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all eb partner ships.
 *
 * <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(EbPartnerShipImpl.class.getName());
	}

	EntityCacheUtil.clearCache(EbPartnerShipImpl.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,代码来源:EbPartnerShipPersistenceImpl.java

示例2: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all audit entries.
 *
 * <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(AuditEntryImpl.class.getName());
	}

	EntityCacheUtil.clearCache(AuditEntryImpl.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,代码来源:AuditEntryPersistenceImpl.java

示例3: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all doc templates.
 *
 * <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(DocTemplateImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DocTemplateImpl.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,代码来源:DocTemplatePersistenceImpl.java

示例4: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all a h cat entrieses.
 *
 * <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(AHCatEntriesImpl.class.getName());
    }

    EntityCacheUtil.clearCache(AHCatEntriesImpl.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,代码来源:AHCatEntriesPersistenceImpl.java

示例5: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all dossier doc2 templates.
 *
 * <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(DossierDoc2TemplateImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DossierDoc2TemplateImpl.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,代码来源:DossierDoc2TemplatePersistenceImpl.java

示例6: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all doc 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(DocFileImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DocFileImpl.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,代码来源:DocFilePersistenceImpl.java

示例7: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all dossier proc bookmarks.
 *
 * <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(DossierProcBookmarkImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DossierProcBookmarkImpl.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,代码来源:DossierProcBookmarkPersistenceImpl.java

示例8: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all payment requests.
 *
 * <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(PaymentRequestImpl.class.getName());
	}

	EntityCacheUtil.clearCache(PaymentRequestImpl.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,代码来源:PaymentRequestPersistenceImpl.java

示例9: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all p2p activity correctionses.
 *
 * <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(P2pActivityCorrectionsImpl.class.getName());
	}

	EntityCacheUtil.clearCache(P2pActivityCorrectionsImpl.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,代码来源:P2pActivityCorrectionsPersistenceImpl.java

示例10: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all dossier folder2 roles.
 *
 * <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(DossierFolder2RoleImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DossierFolder2RoleImpl.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,代码来源:DossierFolder2RolePersistenceImpl.java

示例11: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all user certificate downloads.
 *
 * <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(UserCertificateDownloadImpl.class.getName());
	}

	EntityCacheUtil.clearCache(UserCertificateDownloadImpl.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,代码来源:UserCertificateDownloadPersistenceImpl.java

示例12: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all learning 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(LearningActivityImpl.class.getName());
	}

	EntityCacheUtil.clearCache(LearningActivityImpl.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,代码来源:LearningActivityPersistenceImpl.java

示例13: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all statistic by agencies.
 *
 * <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(StatisticByAgencyImpl.class.getName());
	}

	EntityCacheUtil.clearCache(StatisticByAgencyImpl.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,代码来源:StatisticByAgencyPersistenceImpl.java

示例14: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all categories.
 *
 * <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(CategoryImpl.class.getName());
    }

    EntityCacheUtil.clearCache(CategoryImpl.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,代码来源:CategoryPersistenceImpl.java

示例15: clearCache

import com.liferay.portal.kernel.cache.CacheRegistryUtil; //导入依赖的package包/类
/**
 * Clears the cache for all dossier docs.
 *
 * <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(DossierDocImpl.class.getName());
	}

	EntityCacheUtil.clearCache(DossierDocImpl.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,代码来源:DossierDocPersistenceImpl.java


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