* @return new write behind store manager.
*/
public static <K, V> MapDataStore<K, V> createWriteBehindStore(MapContainer mapContainer, int partitionId,
WriteBehindProcessor writeBehindProcessor) {
final MapServiceContext mapServiceContext = mapContainer.getMapServiceContext();
final MapStoreWrapper store = mapContainer.getStore();
final SerializationService serializationService = mapServiceContext.getNodeEngine().getSerializationService();
final int writeDelaySeconds = mapContainer.getMapConfig().getMapStoreConfig().getWriteDelaySeconds();
final long writeDelayMillis = TimeUnit.SECONDS.toMillis(writeDelaySeconds);
// TODO writeCoalescing should be configurable.
boolean writeCoalescing = true;