Class CachingResourcesConfig
- java.lang.Object
-
- io.apiman.gateway.engine.policies.config.CachingResourcesConfig
-
public class CachingResourcesConfig extends Object
Configuration object for the Caching policy.- Author:
- benjamin.kihm@scheer-group.com
-
-
Constructor Summary
Constructors Constructor Description CachingResourcesConfig()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CachingResourcesSettingsEntry>getCachingResourcesSettingsEntries()Contains the caching settings of the policylonggetTtl()voidsetCachingResourcesSettingsEntries(List<CachingResourcesSettingsEntry> cachingResourcesSettingsEntries)Sets the caching settings of the policyvoidsetTtl(long ttl)
-
-
-
Method Detail
-
getTtl
public long getTtl()
- Returns:
- ttl the time to live
-
setTtl
public void setTtl(long ttl)
- Parameters:
ttl- the time to live to set
-
getCachingResourcesSettingsEntries
public List<CachingResourcesSettingsEntry> getCachingResourcesSettingsEntries()
Contains the caching settings of the policy- Returns:
- getCachingResourcesSettingsEntries caching settings entries
-
setCachingResourcesSettingsEntries
public void setCachingResourcesSettingsEntries(List<CachingResourcesSettingsEntry> cachingResourcesSettingsEntries)
Sets the caching settings of the policy- Parameters:
cachingResourcesSettingsEntries- caching settings entries to set
-
-