Package org.chenile.cache.model
Class CacheConfig
java.lang.Object
org.chenile.cache.model.CacheConfig
Values that can be used to configure a cache.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getId()
int
int
void
setBackupCount
(int backupCount) void
void
setMaxSize
(int maxSize) void
setTimeToLiveInSeconds
(int timeToLiveInSeconds)
-
Field Details
-
EXTENSION
- See Also:
-
timeToLiveInSeconds
private int timeToLiveInSeconds -
backupCount
private int backupCount -
maxSize
private int maxSize -
id
-
-
Constructor Details
-
CacheConfig
public CacheConfig()
-
-
Method Details
-
getTimeToLiveInSeconds
public int getTimeToLiveInSeconds() -
setTimeToLiveInSeconds
public void setTimeToLiveInSeconds(int timeToLiveInSeconds) -
getBackupCount
public int getBackupCount() -
setBackupCount
public void setBackupCount(int backupCount) -
getMaxSize
public int getMaxSize() -
setMaxSize
public void setMaxSize(int maxSize) -
getId
-
setId
-