GatewayLocalResponseCachePerInstancePropertiesResponse

data class GatewayLocalResponseCachePerInstancePropertiesResponse(val responseCacheType: String, val size: String? = null, val timeToLive: String? = null)

Spring Cloud Gateway local response cache per instance properties.

Constructors

constructor(responseCacheType: String, size: String? = null, timeToLive: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The type of the response cache. Expected value is 'LocalCachePerInstance'.

Link copied to clipboard
val size: String? = null

Maximum size of cache (10MB, 900KB, 1GB...) to determine if the cache needs to evict some entries

Link copied to clipboard
val timeToLive: String? = null

Time before a cached entry is expired (300s, 5m, 1h...)