Interface IInterfaceInstanceCacheKeyProvider
-
@StableMinor(version="17.0", sinceVersion="7.0") public interface IInterfaceInstanceCacheKeyProvider
This interface represents the cache key provider for customized cache keys. The classes that implement this interface should have a no-argument public constructor for the portal to instantiate it. This class should generate a consistent key that will correctly identify an entry as it's cached and when it's retrieved. This class MUST be stateless and thread-safe.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCacheKey(IServiceInterfaceRenderRequest request)
Generates the cache key for a specificServiceInterfaceInstanceConfig
.
-
-
-
Method Detail
-
getCacheKey
java.lang.String getCacheKey(IServiceInterfaceRenderRequest request) throws PortalException
Generates the cache key for a specificServiceInterfaceInstanceConfig
.- Parameters:
request
-IServiceInterfaceRequest
in which to generate the cache key from.- Returns:
- a string that will be used as key for caching the rendered serviceInterfaceInstance.
- Throws:
PortalException
- Since:
- 7.0.0
-
-