public class CacheConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private int |
maxElementsInMemory
max elements in memory.
|
private int |
maxElementsOnDisk
max elements on disk.
|
private int |
timeToIdleSeconds
TimeToIdleSeconds.
|
private int |
timeToLiveSeconds
TimeToLiveSeconds.
|
Constructor and Description |
---|
CacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxElementsInMemory() |
int |
getMaxElementsOnDisk() |
int |
getTimeToIdleSeconds() |
int |
getTimeToLiveSeconds() |
void |
setMaxElementsInMemory(int maxElementsInMemory) |
void |
setMaxElementsOnDisk(int maxElementsOnDisk) |
void |
setTimeToIdleSeconds(int timeToIdleSeconds) |
void |
setTimeToLiveSeconds(int timeToLiveSeconds) |
String |
toString() |
private int timeToIdleSeconds
private int timeToLiveSeconds
private int maxElementsInMemory
private int maxElementsOnDisk
public CacheConfiguration()
public int getTimeToIdleSeconds()
public void setTimeToIdleSeconds(int timeToIdleSeconds)
public int getTimeToLiveSeconds()
public void setTimeToLiveSeconds(int timeToLiveSeconds)
public int getMaxElementsInMemory()
public void setMaxElementsInMemory(int maxElementsInMemory)
public int getMaxElementsOnDisk()
public void setMaxElementsOnDisk(int maxElementsOnDisk)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.