Package com.hazelcast.map

Examples of com.hazelcast.map.MapStoreWrapper


     * @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 millis = mapServiceContext.convertTime(writeDelaySeconds, TimeUnit.SECONDS);
        // TODO writeCoalescing should be configurable.
        boolean writeCoalescing = true;
View Full Code Here

TOP

Related Classes of com.hazelcast.map.MapStoreWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.