Interface ICacheManager

  • All Known Implementing Classes:
    CacheManager

    public interface ICacheManager
    Provides operations on the portal cache framework.
    Since:
    4.0.11
    Version:
    $Revision: 7370 $ $Date: 2007-06-12 13:50:49 -0300 (Tue, 12 Jun 2007) $
    • Method Detail

      • getCacheCapacity

        int getCacheCapacity​(String cacheId)
        Returns the capacity to be used for the specified cache.
        Parameters:
        cacheId - the cache's identifier.
        Returns:
        the capacity.
        Since:
        4.0.11
      • addCacheConfig

        void addCacheConfig​(SessionConfig sessionConfig,
                            ICacheConfig cacheConfig,
                            ITransaction transaction)
                     throws PortalException
        Adds a cacheConfig to persistence.
        Parameters:
        sessionConfig - the user session information.
        cacheConfig - the transient cacheConfig instance to be persisted.
        transaction - the transaction for persistence access.
        Throws:
        PortalException
        Since:
        4.0.11
      • deleteCacheConfig

        void deleteCacheConfig​(SessionConfig sessionConfig,
                               ICacheConfig cacheConfig,
                               ITransaction transaction)
                        throws PortalException
        Deletes a cacheConfig from persistence.
        Parameters:
        sessionConfig - the user session information.
        cacheConfig - the persistent cacheConfig instance to be deleted.
        transaction - the transaction for persistence access.
        Throws:
        PortalException
        Since:
        4.0.11