Class CaffeineCacheEndpointBuilderFactory.CaffeineCacheHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.CaffeineCacheEndpointBuilderFactory.CaffeineCacheHeaderNameBuilder
-
- Enclosing interface:
- CaffeineCacheEndpointBuilderFactory
public static class CaffeineCacheEndpointBuilderFactory.CaffeineCacheHeaderNameBuilder extends Object
The builder of headers' name for the Caffeine Cache component.
-
-
Constructor Summary
Constructors Constructor Description CaffeineCacheHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
caffeineAction()
The action to execute.String
caffeineActionHasResult()
The flag indicating whether the action has a result or not.String
caffeineActionSucceeded()
The flag indicating whether the action was successful or not.String
caffeineKey()
The key for all actions on a single entry.String
caffeineKeys()
The keys to get (GET_ALL), to invalidate (INVALIDATE_ALL) or existing (AS_MAP) according to the action.String
caffeineOldValue()
The old value returned according to the action.String
caffeineValue()
The value of key for all put actions (PUT or PUT_ALL).
-
-
-
Method Detail
-
caffeineAction
public String caffeineAction()
The action to execute. Possible values: CLEANUP PUT PUT_ALL GET GET_ALL INVALIDATE INVALIDATE_ALL AS_MAP. The option is a:String
type. Group: producer- Returns:
- the name of the header
CaffeineAction
.
-
caffeineActionHasResult
public String caffeineActionHasResult()
The flag indicating whether the action has a result or not. The option is a:Boolean
type. Group: producer- Returns:
- the name of the header
CaffeineActionHasResult
.
-
caffeineActionSucceeded
public String caffeineActionSucceeded()
The flag indicating whether the action was successful or not. The option is a:Boolean
type. Group: producer- Returns:
- the name of the header
CaffeineActionSucceeded
.
-
caffeineKey
public String caffeineKey()
The key for all actions on a single entry. The option is a: type. Group: producer- Returns:
- the name of the header
CaffeineKey
.
-
caffeineKeys
public String caffeineKeys()
The keys to get (GET_ALL), to invalidate (INVALIDATE_ALL) or existing (AS_MAP) according to the action. The option is a:Set
type. Group: producer- Returns:
- the name of the header
CaffeineKeys
.
-
caffeineValue
public String caffeineValue()
The value of key for all put actions (PUT or PUT_ALL). The option is a: type. Group: producer- Returns:
- the name of the header
CaffeineValue
.
-
caffeineOldValue
public String caffeineOldValue()
The old value returned according to the action. The option is a: type. Group: producer- Returns:
- the name of the header
CaffeineOldValue
.
-
-