Class LastModifiedCache
java.lang.Object
org.hibernate.cache.internal.EnabledCaching
org.pentaho.platform.plugin.services.cache.LastModifiedCache
- All Implemented Interfaces:
jakarta.persistence.Cache,Serializable,org.hibernate.Cache,org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext,org.hibernate.cache.spi.CacheImplementor,org.hibernate.service.Service,org.pentaho.platform.api.cache.ILastModifiedCacheItem,HvCache
public class LastModifiedCache
extends org.hibernate.cache.internal.EnabledCaching
implements org.pentaho.platform.api.cache.ILastModifiedCacheItem, HvCache
User: rfellows Date: 10/25/11 Time: 3:53 PM
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLastModifiedCache(org.hibernate.cache.spi.DirectAccessRegion directAccessRegion, org.hibernate.SessionFactory sessionFactory) LastModifiedCache(org.hibernate.cache.spi.DirectAccessRegion directAccessRegion, org.hibernate.SessionFactory sessionFactory, long lastModified) -
Method Summary
Modifier and TypeMethodDescriptionvoidevictEntityData(String entityName) Return all keys for the regionorg.hibernate.cache.spi.DirectAccessRegionReturn built in cache accesslongorg.hibernate.cache.spi.support.StorageAccessReturn the object that allows direct storage accessvoidsetLastModified(long lastModified) <T> TMethods inherited from class org.hibernate.cache.internal.EnabledCaching
close, contains, containsCollection, containsEntity, containsEntity, containsQuery, evict, evict, evictCollectionData, evictCollectionData, evictCollectionData, evictDefaultQueryRegion, evictEntityData, evictEntityData, evictEntityData, evictEntityData, evictEntityData, evictNaturalIdData, evictNaturalIdData, evictNaturalIdData, evictQueryRegion, evictQueryRegions, evictRegion, getCacheRegionNames, getCollectionRegionAccess, getDefaultQueryResultsCache, getEnforcedCacheKeysFactory, getEntityRegionAccess, getNaturalIdCacheRegionAccessStrategy, getQueryResultsCache, getQueryResultsCacheStrictly, getRegion, getRegionFactory, getSessionFactory, getTimestampsCache, makeQueryResultsRegion, makeQueryResultsRegionAccess, primeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.persistence.Cache
contains, evict, evictMethods inherited from interface org.hibernate.Cache
containsCollection, containsEntity, containsEntity, containsQuery, evictAll, evictAllRegions, evictCollectionData, evictCollectionData, evictCollectionData, evictDefaultQueryRegion, evictEntityData, evictEntityData, evictEntityData, evictEntityData, evictNaturalIdData, evictNaturalIdData, evictNaturalIdData, evictQueryRegion, evictQueryRegions, evictRegionMethods inherited from interface org.hibernate.cache.spi.CacheImplementor
evictQueries
-
Field Details
-
LOGGER
protected static final org.apache.commons.logging.Log LOGGER
-
-
Constructor Details
-
LastModifiedCache
public LastModifiedCache(org.hibernate.cache.spi.DirectAccessRegion directAccessRegion, org.hibernate.SessionFactory sessionFactory) -
LastModifiedCache
public LastModifiedCache(org.hibernate.cache.spi.DirectAccessRegion directAccessRegion, org.hibernate.SessionFactory sessionFactory, long lastModified)
-
-
Method Details
-
getLastModified
public long getLastModified()- Specified by:
getLastModifiedin interfaceorg.pentaho.platform.api.cache.ILastModifiedCacheItem
-
getCacheKey
- Specified by:
getCacheKeyin interfaceorg.pentaho.platform.api.cache.ILastModifiedCacheItem
-
setLastModified
public void setLastModified(long lastModified) -
unwrap
- Specified by:
unwrapin interfacejakarta.persistence.Cache- Overrides:
unwrapin classorg.hibernate.cache.internal.EnabledCaching
-
getAllKeys
Description copied from interface:HvCacheReturn all keys for the region- Specified by:
getAllKeysin interfaceHvCache- Returns:
-
getDirectAccessRegion
public org.hibernate.cache.spi.DirectAccessRegion getDirectAccessRegion()Description copied from interface:HvCacheReturn built in cache access- Specified by:
getDirectAccessRegionin interfaceHvCache- Returns:
-
getStorageAccess
public org.hibernate.cache.spi.support.StorageAccess getStorageAccess()Description copied from interface:HvCacheReturn the object that allows direct storage access- Specified by:
getStorageAccessin interfaceHvCache- Returns:
-
evictEntityData
- Specified by:
evictEntityDatain interfaceorg.hibernate.Cache- Overrides:
evictEntityDatain classorg.hibernate.cache.internal.EnabledCaching
-