Uses of Record Class
com.loomcache.server.datastructures.mapstore.MapStoreConfig
Packages that use MapStoreConfig
Package
Description
MapStore Service Provider Interface — pluggable backing store for
DistributedMap.-
Uses of MapStoreConfig in com.loomcache.server.datastructures
Methods in com.loomcache.server.datastructures that return MapStoreConfigModifier and TypeMethodDescription@Nullable MapStoreConfigDistributedMap.getMapStoreConfig()Get the activeMapStoreConfig, ornullif no store is wired.Methods in com.loomcache.server.datastructures with parameters of type MapStoreConfigModifier and TypeMethodDescriptionvoidDistributedMap.setMapStore(MapStore<K, V> store, MapStoreConfig config) Wire a pluggableMapStoreas the backing store for this map. -
Uses of MapStoreConfig in com.loomcache.server.datastructures.mapstore
Methods in com.loomcache.server.datastructures.mapstore that return MapStoreConfigModifier and TypeMethodDescriptionstatic MapStoreConfigMapStoreConfig.defaults()Sensible defaults: write-through, LAZY load, 100-entry batches, 1-second flush interval.static MapStoreConfigMapStoreConfig.writeBehindConfig(int batchSize, Duration delay) Convenience factory for write-behind mode.static MapStoreConfigMapStoreConfig.writeThroughConfig()Convenience factory for write-through mode.static MapStoreConfigMapStoreConfig.writeThroughNoLoadConfig()Convenience factory for write-through persistence without read-through loading. -
Uses of MapStoreConfig in com.loomcache.server.jcache
Methods in com.loomcache.server.jcache with parameters of type MapStoreConfigModifier and TypeMethodDescriptionstatic <K,V> CacheWriterIntegration <K, V> CacheWriterIntegration.fromMapStore(MapStore<K, V> mapStore, MapStoreConfig config) Bridge factory: wire aMapStorethrough the JCache write-through / write-behind machinery by wrapping it in aMapStoreBackedCacheWriter.