@PublicApi
public class ExternalCacheSettings
extends java.lang.Object
ExternalCache.| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<ChangeRate> |
getDataChangeRateHint()
Returns the hint for the expected change rate for data updates.
|
java.util.Optional<java.time.Duration> |
getDefaultTtl()
Returns the default time-to-live for entries when added.
|
java.util.Optional<java.lang.Integer> |
getEntryCountHint()
Returns the hint for the expected number of entries
|
java.util.Optional<ChangeRate> |
getEntryGrowthRateHint()
Returns the hint for the expected change rate for entry additions.
|
ExternalCacheSettings |
override(ExternalCacheSettings overrides)
Returns a new
ExternalCacheSettings instance where the current settings
are overridden with settings specified in overrides. |
public ExternalCacheSettings override(ExternalCacheSettings overrides)
ExternalCacheSettings instance where the current settings
are overridden with settings specified in overrides.overrides - contains the settings to overrideExternalCacheSettings instance with the overrides settings applied.public java.util.Optional<java.time.Duration> getDefaultTtl()
public java.util.Optional<java.lang.Integer> getEntryCountHint()
public java.util.Optional<ChangeRate> getDataChangeRateHint()
public java.util.Optional<ChangeRate> getEntryGrowthRateHint()
Copyright © 2022 Atlassian. All rights reserved.