public static class SimpleLookupPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SimpleLookupPolicy |
build() |
SimpleLookupPolicy.Builder |
cacheKeyAdditions(List<String> cacheKeyAdditions)
A list of context expressions whose values will be added to the base cache key.
|
SimpleLookupPolicy.Builder |
copy(SimpleLookupPolicy model) |
SimpleLookupPolicy.Builder |
isEnabled(Boolean isEnabled) |
SimpleLookupPolicy.Builder |
isPrivateCachingEnabled(Boolean isPrivateCachingEnabled) |
public SimpleLookupPolicy.Builder isEnabled(Boolean isEnabled)
public SimpleLookupPolicy.Builder isPrivateCachingEnabled(Boolean isPrivateCachingEnabled)
public SimpleLookupPolicy.Builder cacheKeyAdditions(List<String> cacheKeyAdditions)
A list of context expressions whose values will be added to the base cache key. Values should contain an expression enclosed within ${} delimiters. Only the request context is available.
cacheKeyAdditions
- the value to setpublic SimpleLookupPolicy build()
public SimpleLookupPolicy.Builder copy(SimpleLookupPolicy model)
Copyright © 2016–2024. All rights reserved.