KS - type of the NearCacheRecord keyspublic class NearCachePreloader<KS> extends Object
| Constructor and Description | 
|---|
| NearCachePreloader(String nearCacheName,
                  NearCachePreloaderConfig preloaderConfig,
                  NearCacheStatsImpl nearCacheStats,
                  SerializationService serializationService) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | loadKeys(DataStructureAdapter<Data,?> adapter)Loads the values via a stored key file into the supplied  DataStructureAdapter. | 
| <R extends NearCacheRecord,NCRM extends NearCacheRecordMap<KS,R>> | storeKeys(NCRM... records)Stores the keys from the supplied  NearCacheRecordMapinstances. | 
public NearCachePreloader(String nearCacheName, NearCachePreloaderConfig preloaderConfig, NearCacheStatsImpl nearCacheStats, SerializationService serializationService)
public void loadKeys(DataStructureAdapter<Data,?> adapter)
DataStructureAdapter.adapter - the DataStructureAdapter to load the values frompublic <R extends NearCacheRecord,NCRM extends NearCacheRecordMap<KS,R>> void storeKeys(NCRM... records)
NearCacheRecordMap instances.
 We need to support multiple records maps here, since Hazelcast Enterprise has a segmented
 NearCacheRecordStore which contains multiple records maps.R - the NearCacheRecord typeNCRM - the NearCacheRecordMap typerecords - the NearCacheRecordMap instances to retrieve the keys fromCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.