| Modifier and Type | Method and Description |
|---|---|
Optional<Duration> |
getDefaultTtl()
Returns the default time-to-live for entries when added.
|
Optional<Integer> |
getMaxEntries()
Returns the maximum number of entries allowed.
|
JvmCacheSettings |
override(JvmCacheSettings overrides)
Returns a new
JvmCacheSettings instance where the current settings
are overridden with settings specified in overrides. |
public JvmCacheSettings override(JvmCacheSettings overrides)
JvmCacheSettings instance where the current settings
are overridden with settings specified in overrides. Only properties
in overrides that are present will be applied.overrides - contains the settings to overrideJvmCacheSettings instance with the overrides settings applied.public Optional<Integer> getMaxEntries()
Copyright © 2019 Atlassian. All rights reserved.