lumis.portal.serviceinterfaceinstance
Interface IInterfaceInstanceCacheKeyProvider
@StableMinor(version="7.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
getCacheKey
String getCacheKey(IServiceInterfaceRenderRequest request)
throws PortalException
- Generates the cache key for a specific
ServiceInterfaceInstanceConfig
.
- 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
Lumisportal 7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.