public class CaffeineConfiguration extends Object
Constructor and Description |
---|
CaffeineConfiguration() |
CaffeineConfiguration(String cacheName,
Properties prop) |
Modifier and Type | Method and Description |
---|---|
String |
getCacheName() |
Integer |
getInitialCapacity() |
Integer |
getMaximumSize() |
Integer |
getTimeToIdleSeconds() |
Integer |
getTimeToLiveSeconds() |
boolean |
isRecordStats() |
void |
setCacheName(String cacheName) |
void |
setInitialCapacity(Integer initialCapacity) |
void |
setMaximumSize(Integer maximumSize) |
void |
setRecordStats(boolean recordStats) |
void |
setTimeToIdleSeconds(Integer timeToIdleSeconds) |
void |
setTimeToLiveSeconds(Integer timeToLiveSeconds) |
public CaffeineConfiguration()
public CaffeineConfiguration(String cacheName, Properties prop)
public String getCacheName()
public void setCacheName(String cacheName)
public Integer getTimeToLiveSeconds()
public void setTimeToLiveSeconds(Integer timeToLiveSeconds)
public Integer getTimeToIdleSeconds()
public void setTimeToIdleSeconds(Integer 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.