Interface IInterfaceInstanceCacheKeyProvider
-
@StableMinor(version="16.1", 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: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
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
-
-