public static < K , V > MapDataStore < K , V > createWriteThroughStore ( MapStoreContext mapStoreContext ) { final MapStoreWrapper store = mapStoreContext . getMapStoreWrapper ( ) ; final MapServiceContext mapServiceContext = mapStoreContext . getMapServiceContext ( ) ; final NodeEngine nodeEngine = mapServiceContext . getNodeEngine ( ) ; final InternalSerializationService serializationService = ( ( InternalSerializationService ) nodeEngine . getSerializationService ( ) ) ; return ( MapDataStore < K , V > ) new WriteThroughStore ( store , serializationService ) ; }
Creates a write through data store .