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