hotrodRequest
Issues a HotRod request and registers handlers for the response.
Property |
Type |
Description |
cacheName |
String |
Name of the cache used for the operation. This can be a pattern. |
cacheName (alternative) |
Builder |
<no description> |
get |
String |
Get specified entry in the remote cache. |
key |
String |
Key used for the operation. This can be a pattern. |
key (alternative) |
Builder |
<no description> |
metric |
String |
Requests statistics will use this metric name. |
metric (alternative) |
<list of strings> |
Allows categorizing request statistics into metrics based on the request path. |
operation |
enum |
Options:PUT : Adds or overrides each specified entry in the remote cache.GET : Get specified entry in the remote cache.
|
put |
String |
Adds or overrides each specified entry in the remote cache. |
value |
String |
Value for the operation. This can be a pattern. |
value (alternative) |
Builder |
<no description> |
cacheName
Generic builder for generating a string.
Property |
Type |
Description |
fromVar |
Object |
Load the string from session variable. |
pattern |
String |
Use pattern replacing session variables. |
value |
String |
String value used verbatim. |
key
Generic builder for generating a string.
Property |
Type |
Description |
fromVar |
Object |
Load the string from session variable. |
pattern |
String |
Use pattern replacing session variables. |
value |
String |
String value used verbatim. |
metric
Allows categorizing request statistics into metrics based on the request path.
Property |
Type |
Description |
<list of strings> |
<list of strings> |
Allows categorizing request statistics into metrics based on the request path. The expressions are evaluated in the order as provided in the list. Use one of: regexp -> replacement , e.g. ([^?]*)(\?.*)? -> $1 to drop the query part. regexp (don't do any replaces and use the full path), e.g. .*.jpg -> name (metric applied if none of the previous expressions match). |
value
Generic builder for generating a string.
Property |
Type |
Description |
fromVar |
Object |
Load the string from session variable. |
pattern |
String |
Use pattern replacing session variables. |
value |
String |
String value used verbatim. |