Class LfuCacheSettings
java.lang.Object
org.apache.pekko.http.caching.javadsl.LfuCacheSettings
- Direct Known Subclasses:
- LfuCacheSettings
Public API but not intended for subclassing
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic LfuCacheSettingscreate(com.typesafe.config.Config config) static LfuCacheSettingsabstract intabstract intabstract DurationJava APIabstract DurationJava APIwithInitialCapacity(int newInitialCapacity) withMaxCapacity(int newMaxCapacity) withTimeToIdle(Duration newTimeToIdle) Java APIwithTimeToIdle(scala.concurrent.duration.Duration newTimeToIdle) withTimeToLive(Duration newTimeToLive) Java APIwithTimeToLive(scala.concurrent.duration.Duration newTimeToLive) 
- 
Constructor Details- 
LfuCacheSettingspublic LfuCacheSettings()
 
- 
- 
Method Details- 
create
- 
create
- 
getMaxCapacitypublic abstract int getMaxCapacity()
- 
getInitialCapacitypublic abstract int getInitialCapacity()
- 
getTimeToLiveJava APIIn 2.0.0, the return type of this method changed from scala.concurrent.duration.Durationtojava.time.Duration.- Returns:
- (undocumented)
 
- 
getTimeToIdleJava APIIn 2.0.0, the return type of this method changed from scala.concurrent.duration.Durationtojava.time.Duration.- Returns:
- (undocumented)
 
- 
withMaxCapacity
- 
withInitialCapacity
- 
withTimeToLive
- 
withTimeToLiveJava API- Parameters:
- newTimeToLive- (undocumented)
- Returns:
- (undocumented)
- Since:
- 1.3.0
 
- 
withTimeToIdle
- 
withTimeToIdleJava API- Parameters:
- newTimeToIdle- (undocumented)
- Returns:
- (undocumented)
- Since:
- 1.3.0
 
 
-