Exemplo n.º 1
0
  public DefaultRecordStore(
      MapContainer mapContainer, int partitionId, MapKeyLoader keyLoader, ILogger logger) {
    super(mapContainer, partitionId);

    this.logger = logger;
    this.keyLoader = keyLoader;
    this.lockStore = createLockStore();
    this.mapStoreContext = mapContainer.getMapStoreContext();
    MapStoreManager mapStoreManager = mapStoreContext.getMapStoreManager();
    this.mapDataStore = mapStoreManager.getMapDataStore(partitionId);
    this.recordStoreLoader = createRecordStoreLoader(mapStoreContext);
  }