Search in sources :

Example 6 with WriteBehindStore

use of com.hazelcast.map.impl.mapstore.writebehind.WriteBehindStore in project hazelcast by hazelcast.

the class AwaitMapFlushOperation method innerBeforeRun.

@Override
public void innerBeforeRun() throws Exception {
    super.innerBeforeRun();
    MapDataStore mapDataStore = recordStore.getMapDataStore();
    if (!(mapDataStore instanceof WriteBehindStore)) {
        return;
    }
    store = (WriteBehindStore) mapDataStore;
}
Also used : MapDataStore(com.hazelcast.map.impl.mapstore.MapDataStore) WriteBehindStore(com.hazelcast.map.impl.mapstore.writebehind.WriteBehindStore)

Aggregations

WriteBehindStore (com.hazelcast.map.impl.mapstore.writebehind.WriteBehindStore)6 DelayedEntry (com.hazelcast.map.impl.mapstore.writebehind.entry.DelayedEntry)3 RecordStore (com.hazelcast.map.impl.recordstore.RecordStore)3 MapServiceContext (com.hazelcast.map.impl.MapServiceContext)2 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)2 List (java.util.List)2 Map (java.util.Map)2 MapConfig (com.hazelcast.config.MapConfig)1 MapStoreConfig (com.hazelcast.config.MapStoreConfig)1 MapContainer (com.hazelcast.map.impl.MapContainer)1 MapService (com.hazelcast.map.impl.MapService)1 MapDataStore (com.hazelcast.map.impl.mapstore.MapDataStore)1 WriteBehindQueue (com.hazelcast.map.impl.mapstore.writebehind.WriteBehindQueue)1 Record (com.hazelcast.map.impl.record.Record)1 NodeEngineImpl (com.hazelcast.spi.impl.NodeEngineImpl)1 Queue (java.util.Queue)1