public static class CacheConfig.CaffeineConfig.CaffeineNamespaceConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) Optional<Duration> |
expireAfterAccess
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after
the entry's creation, the most recent replacement of its value, or its last read.
|
(package private) Optional<Duration> |
expireAfterWrite
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after
the entry's creation, or the most recent replacement of its value.
|
(package private) OptionalInt |
initialCapacity
Minimum total size for the internal data structures.
|
(package private) OptionalLong |
maximumSize
Maximum number of entries the cache may contain.
|
| Constructor and Description |
|---|
CaffeineNamespaceConfig() |
@ConfigItem OptionalInt initialCapacity
@ConfigItem OptionalLong maximumSize
@ConfigItem Optional<Duration> expireAfterWrite
Copyright © 2021 JBoss by Red Hat. All rights reserved.