Class PortalCacheProvider

  • All Implemented Interfaces:
    org.hibernate.cache.CacheProvider

    public class PortalCacheProvider
    extends java.lang.Object
    implements org.hibernate.cache.CacheProvider
    A PortalCache provider for hibernate.
    Since:
    4.0.11
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • PortalCacheProvider

        public PortalCacheProvider()
    • Method Detail

      • buildCache

        public org.hibernate.cache.Cache buildCache​(java.lang.String regionName,
                                                    java.util.Properties properties)
                                             throws org.hibernate.cache.CacheException
        Specified by:
        buildCache in interface org.hibernate.cache.CacheProvider
        Throws:
        org.hibernate.cache.CacheException
      • nextTimestamp

        public long nextTimestamp()
        Specified by:
        nextTimestamp in interface org.hibernate.cache.CacheProvider
      • start

        public void start​(java.util.Properties properties)
                   throws org.hibernate.cache.CacheException
        Specified by:
        start in interface org.hibernate.cache.CacheProvider
        Throws:
        org.hibernate.cache.CacheException
      • stop

        public void stop()
        Specified by:
        stop in interface org.hibernate.cache.CacheProvider
      • isMinimalPutsEnabledByDefault

        public boolean isMinimalPutsEnabledByDefault()
        Specified by:
        isMinimalPutsEnabledByDefault in interface org.hibernate.cache.CacheProvider