Interface IInterfaceInstanceCacheKeyProvider
-
@StableMinor(version="14.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: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCacheKey(IServiceInterfaceRenderRequest request)
Generates the cache key for a specificServiceInterfaceInstanceConfig
.
-
-
-
Method Detail
-
getCacheKey
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
-
-