@PublicApi public class ExternalCacheSettings extends Object
ExternalCache.| Modifier and Type | Method and Description |
|---|---|
Optional<ChangeRate> |
getDataChangeRateHint()
Returns the hint for the expected change rate for data updates.
|
Optional<Duration> |
getDefaultTtl()
Returns the default time-to-live for entries when added.
|
Optional<Integer> |
getEntryCountHint()
Returns the hint for the expected number of entries
|
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 Optional<Duration> getDefaultTtl()
public Optional<Integer> getEntryCountHint()
public Optional<ChangeRate> getDataChangeRateHint()
public Optional<ChangeRate> getEntryGrowthRateHint()
Copyright © 2016 Atlassian. All rights reserved.