public final class DouiRestInterfaceCacheManager extends Object
Modifier and Type | Method and Description |
---|---|
static void |
clearCache(ServiceInstanceConfig serviceInstance)
Clears the REST interface related caches of the given service instance.
|
static RestInterfaceCacheConfig |
getCacheConfig(String serviceInstanceId,
String restInterfaceId,
String serviceId)
Returns the REST interface cache configuration.
|
static DouiRestInterfaceRenderResult |
render(IDouiRestInterfaceRequest request)
Returns the given REST interface request render.
|
static void |
saveCacheConfigs(String serviceInstanceId,
Map<String,RestInterfaceCacheConfig> cacheConfigs)
Saves the given REST interfaces cache configurations.
|
public static RestInterfaceCacheConfig getCacheConfig(String serviceInstanceId, String restInterfaceId, String serviceId) throws PortalException
serviceInstanceId
- the service instance identifier.restInterfaceId
- the REST interface identifier.PortalException
public static void saveCacheConfigs(String serviceInstanceId, Map<String,RestInterfaceCacheConfig> cacheConfigs) throws PortalException
serviceInstanceId
- the service instance identifier.cacheConfigs
- the cache configurations for each REST interface.PortalException
public static DouiRestInterfaceRenderResult render(IDouiRestInterfaceRequest request) throws Exception
request
- the REST interface request.Exception
public static void clearCache(ServiceInstanceConfig serviceInstance) throws PortalException
serviceInstance
- the service instance.PortalException
Lumisportal 11.0.1.181011 - Copyright © 2006–2018 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.