public static class FixedTTLResponseCacheStorePolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FixedTTLResponseCacheStorePolicy |
build() |
FixedTTLResponseCacheStorePolicy.Builder |
copy(FixedTTLResponseCacheStorePolicy model) |
FixedTTLResponseCacheStorePolicy.Builder |
timeToLiveInSeconds(Integer timeToLiveInSeconds)
Sets the number of seconds for a response from a backend being stored in the Response
Cache before it expires.
|
public FixedTTLResponseCacheStorePolicy.Builder timeToLiveInSeconds(Integer timeToLiveInSeconds)
Sets the number of seconds for a response from a backend being stored in the Response Cache before it expires.
timeToLiveInSeconds
- the value to setpublic FixedTTLResponseCacheStorePolicy build()
public FixedTTLResponseCacheStorePolicy.Builder copy(FixedTTLResponseCacheStorePolicy model)
Copyright © 2016–2024. All rights reserved.