@ConfigurationProperties(value="heap") public static class EhcacheConfiguration.HeapTieredCacheConfiguration extends AbstractResourcePoolConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
HeapTieredCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getMaxEntries() |
java.lang.Long |
getSizeOfMaxObjectSize() |
void |
setMaxEntries(java.lang.Long maxEntries) |
void |
setSizeOfMaxObjectSize(java.lang.Long sizeOfMaxObjectSize) |
getMaxSize, setMaxSize
public static final java.lang.String PREFIX
public java.lang.Long getMaxEntries()
public void setMaxEntries(java.lang.Long maxEntries)
maxEntries
- The maximum number of entriespublic java.lang.Long getSizeOfMaxObjectSize()
public void setSizeOfMaxObjectSize(@ReadableBytes java.lang.Long sizeOfMaxObjectSize)
sizeOfMaxObjectSize
- The maximum size of a single object