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