public class CaffeineConfig extends Object
Constructor and Description |
---|
CaffeineConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getCacheName() |
Integer |
getInitialCapacity() |
Integer |
getMaximumSize() |
Long |
getTimeToIdleSeconds() |
Long |
getTimeToLiveSeconds() |
boolean |
isRecordStats() |
void |
setCacheName(String cacheName) |
void |
setInitialCapacity(Integer initialCapacity) |
void |
setMaximumSize(Integer maximumSize) |
void |
setRecordStats(boolean recordStats) |
void |
setTimeToIdleSeconds(Long timeToIdleSeconds) |
void |
setTimeToLiveSeconds(Long timeToLiveSeconds) |
public String getCacheName()
public void setCacheName(String cacheName)
public Long getTimeToLiveSeconds()
public void setTimeToLiveSeconds(Long timeToLiveSeconds)
public Long getTimeToIdleSeconds()
public void setTimeToIdleSeconds(Long timeToIdleSeconds)
public Integer getMaximumSize()
public void setMaximumSize(Integer maximumSize)
public Integer getInitialCapacity()
public void setInitialCapacity(Integer initialCapacity)
public boolean isRecordStats()
public void setRecordStats(boolean recordStats)
Copyright © 2018. All rights reserved.