Uses of Class
net.sf.ehcache.config.MemoryUnit
-
Packages that use MemoryUnit Package Description net.sf.ehcache.config This package contains the cache configuration code. -
-
Uses of MemoryUnit in net.sf.ehcache.config
Methods in net.sf.ehcache.config that return MemoryUnit Modifier and Type Method Description static MemoryUnitMemoryUnit. forUnit(char unit)Returns the MemoryUnit instance based on provided charstatic MemoryUnitMemoryUnit. parseUnit(java.lang.String value)Parses the unit part of a String, if no unit char available, returnsBYTESstatic MemoryUnitMemoryUnit. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MemoryUnit[]MemoryUnit. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.sf.ehcache.config with parameters of type MemoryUnit Modifier and Type Method Description CacheConfigurationCacheConfiguration. maxBytesLocalDisk(long amount, MemoryUnit memoryUnit)Sets the maxOnDisk sizeConfigurationConfiguration. maxBytesLocalDisk(long amount, MemoryUnit memoryUnit)Sets the maxOnDisk sizeCacheConfigurationCacheConfiguration. maxBytesLocalHeap(long amount, MemoryUnit memoryUnit)Sets the maxOnHeap sizeConfigurationConfiguration. maxBytesLocalHeap(long amount, MemoryUnit memoryUnit)Deprecated.CacheConfigurationCacheConfiguration. maxBytesLocalOffHeap(long amount, MemoryUnit memoryUnit)Sets the maxOffHeap tier sizeConfigurationConfiguration. maxBytesLocalOffHeap(long amount, MemoryUnit memoryUnit)Sets the maximum size for the OffHeap tier for all the caches this CacheManagers holds.
-