Class EhcacheEndpointBuilderFactory.EhcacheHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.EhcacheEndpointBuilderFactory.EhcacheHeaderNameBuilder
-
- Enclosing interface:
- EhcacheEndpointBuilderFactory
public static class EhcacheEndpointBuilderFactory.EhcacheHeaderNameBuilder extends Object
The builder of headers' name for the Ehcache component.
-
-
Constructor Summary
Constructors Constructor Description EhcacheHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
ehcacheAction()
The operation to be performed on the cache, valid options are: CLEAR PUT PUT_ALL PUT_IF_ABSENT GET GET_ALL REMOVE REMOVE_ALL REPLACE.String
ehcacheActionHasResult()
Set to true if the action has a result.String
ehcacheActionSucceeded()
Set to true if the action was successful.String
ehcacheEventType()
The type of event received.String
ehcacheKey()
The cache key used for an action.String
ehcacheKeys()
A list of keys, used in PUT_ALL GET_ALL REMOVE_ALL.String
ehcacheOldValue()
The old value associated to a key for actions like PUT_IF_ABSENT or the Object used for comparison for actions like REPLACE.String
ehcacheValue()
The value to put in the cache or the result of an operation.
-
-
-
Method Detail
-
ehcacheAction
public String ehcacheAction()
The operation to be performed on the cache, valid options are: CLEAR PUT PUT_ALL PUT_IF_ABSENT GET GET_ALL REMOVE REMOVE_ALL REPLACE. The option is a:String
type. Group: common- Returns:
- the name of the header
EhcacheAction
.
-
ehcacheActionHasResult
public String ehcacheActionHasResult()
Set to true if the action has a result. The option is a:Boolean
type. Group: common- Returns:
- the name of the header
EhcacheActionHasResult
.
-
ehcacheActionSucceeded
public String ehcacheActionSucceeded()
Set to true if the action was successful. The option is a:Boolean
type. Group: common- Returns:
- the name of the header
EhcacheActionSucceeded
.
-
ehcacheKey
public String ehcacheKey()
The cache key used for an action. The option is a:Object
type. Group: common- Returns:
- the name of the header
EhcacheKey
.
-
ehcacheKeys
public String ehcacheKeys()
A list of keys, used in PUT_ALL GET_ALL REMOVE_ALL. The option is a:Set<Object>
type. Group: common- Returns:
- the name of the header
EhcacheKeys
.
-
ehcacheValue
public String ehcacheValue()
The value to put in the cache or the result of an operation. The option is a:Object
type. Group: common- Returns:
- the name of the header
EhcacheValue
.
-
ehcacheOldValue
public String ehcacheOldValue()
The old value associated to a key for actions like PUT_IF_ABSENT or the Object used for comparison for actions like REPLACE. The option is a:Object
type. Group: common- Returns:
- the name of the header
EhcacheOldValue
.
-
ehcacheEventType
public String ehcacheEventType()
The type of event received. The option is a:EventType
type. Group: common- Returns:
- the name of the header
EhcacheEventType
.
-
-