MemoryConfigurationBuilder |
MemoryConfigurationBuilder.addressCount(int addressCount) |
Configuration setting when using off-heap that defines how many address pointers there are.
|
MemoryConfigurationBuilder |
MemoryConfigurationBuilder.evictionStrategy(EvictionStrategy strategy) |
Sets the eviction strategy which can be:
NONE - no eviction will take place
MANUAL - no eviction will take place automatically, but user is assumed to manually call evict
REMOVE - eviction will remove entries to make room for new entries to be inserted
EXCEPTION - eviction will not take place, but instead an exception will be thrown to ensure container doesn't grow too large
The eviction strategy NONE and MANUAL are essentially the same except that MANUAL does not warn the user
when passivation is enabled.
|
MemoryConfigurationBuilder |
MemoryConfigurationBuilder.evictionType(EvictionType type) |
Sets the eviction type which can either be
COUNT - entries will be evicted when the number of entries exceeds the size(long)
MEMORY - entries will be evicted when the approximate combined size of all values exceeds the size(long)
Cache size is guaranteed not to exceed upper
limit specified by size.
|
MemoryConfigurationBuilder |
ConfigurationBuilder.memory() |
|
MemoryConfigurationBuilder |
ConfigurationChildBuilder.memory() |
|
MemoryConfigurationBuilder |
MemoryConfigurationBuilder.read(MemoryConfiguration template) |
|
MemoryConfigurationBuilder |
MemoryConfigurationBuilder.size(long size) |
Defines the maximum size before eviction occurs.
|
MemoryConfigurationBuilder |
MemoryConfigurationBuilder.storageType(StorageType storageType) |
Set the StorageType to determine how the data is stored in the data container.
|