You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
h|[[quarkus-cache_section_quarkus-cache]] [.section-name.section-level0]##link:#quarkus-cache_section_quarkus-cache[Configuration that allows customizing cache names to use a different type]##
2050
+
h|Type
2051
+
h|Default
2052
+
2053
+
a|icon:lock[title=Fixed at build time] [[quarkus-cache_quarkus-cache-cache-name-type]] [.property-path]##link:#quarkus-cache_quarkus-cache-cache-name-type[`quarkus.cache."cache-name".type`]##
h|[[quarkus-cache_section_quarkus-cache-caffeine]] [.section-name.section-level0]##link:#quarkus-cache_section_quarkus-cache-caffeine[Default configuration applied to all Caffeine caches (lowest precedence)]##
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-all-config[icon:question-circle[title=More information about the Duration format]]
This property is only meant to be set by advanced configurations to override whatever value was set for the uri or url. The override is done using the REST Client class name configuration syntax.
85497
85548
85498
-
This property is not applicable to the RESTEasy Client, only the Quarkus Rest client (formerly RESTEasy Reactive client).
85549
+
This property is not applicable to the Quarkus RESTEasy client (provided by the quarkus-resteasy-client dependency).
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-all-config[icon:question-circle[title=More information about the Duration format]]
h|[[quarkus-cache_section_quarkus-cache]] [.section-name.section-level0]##link:#quarkus-cache_section_quarkus-cache[Configuration that allows customizing cache names to use a different type]##
53
+
h|Type
54
+
h|Default
55
+
56
+
a|icon:lock[title=Fixed at build time] [[quarkus-cache_quarkus-cache-cache-name-type]] [.property-path]##link:#quarkus-cache_quarkus-cache-cache-name-type[`quarkus.cache."cache-name".type`]##
h|[[quarkus-cache_section_quarkus-cache-caffeine]] [.section-name.section-level0]##link:#quarkus-cache_section_quarkus-cache-caffeine[Default configuration applied to all Caffeine caches (lowest precedence)]##
h|[[quarkus-cache_section_quarkus-cache]] [.section-name.section-level0]##link:#quarkus-cache_section_quarkus-cache[Configuration that allows customizing cache names to use a different type]##
53
+
h|Type
54
+
h|Default
55
+
56
+
a|icon:lock[title=Fixed at build time] [[quarkus-cache_quarkus-cache-cache-name-type]] [.property-path]##link:#quarkus-cache_quarkus-cache-cache-name-type[`quarkus.cache."cache-name".type`]##
h|[[quarkus-cache_section_quarkus-cache-caffeine]] [.section-name.section-level0]##link:#quarkus-cache_section_quarkus-cache-caffeine[Default configuration applied to all Caffeine caches (lowest precedence)]##
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-rest-client-config_quarkus-rest-client[icon:question-circle[title=More information about the Duration format]]
This property is only meant to be set by advanced configurations to override whatever value was set for the uri or url. The override is done using the REST Client class name configuration syntax.
1004
1029
1005
-
This property is not applicable to the RESTEasy Client, only the Quarkus Rest client (formerly RESTEasy Reactive client).
1030
+
This property is not applicable to the Quarkus RESTEasy client (provided by the quarkus-resteasy-client dependency).
|link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html[Duration] link:#duration-note-anchor-quarkus-rest-client-config_quarkus-rest-client[icon:question-circle[title=More information about the Duration format]]
To write duration values, use the standard `java.time.Duration` format.
1881
+
See the link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)[Duration#parse() Java API documentation] for more information.
1882
+
1883
+
You can also use a simplified format, starting with a number:
1884
+
1885
+
* If the value is only a number, it represents time in seconds.
1886
+
* If the value is a number followed by `ms`, it represents time in milliseconds.
1887
+
1888
+
In other cases, the simplified format is translated to the `java.time.Duration` format for parsing:
1889
+
1890
+
* If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`.
1891
+
* If the value is a number followed by `d`, it is prefixed with `P`.
0 commit comments