/** * @param memtable Initial Memtable. Can be null. * @param loadsstables true to indicate to load SSTables (TODO: remove as this is only accessed from 2i) */ public Tracker(Memtable memtable, boolean loadsstables) { this.cfstore = memtable != null ? memtable.cfs : null; this.view = new AtomicReference<>(); this.loadsstables = loadsstables; this.reset(memtable); }
/** * @param memtable Initial Memtable. Can be null. * @param loadsstables true to indicate to load SSTables (TODO: remove as this is only accessed from 2i) */ public Tracker(Memtable memtable, boolean loadsstables) { this.cfstore = memtable != null ? memtable.cfs : null; this.view = new AtomicReference<>(); this.loadsstables = loadsstables; this.reset(memtable); }
/** * @param memtable Initial Memtable. Can be null. * @param loadsstables true to indicate to load SSTables (TODO: remove as this is only accessed from 2i) */ public Tracker(Memtable memtable, boolean loadsstables) { this.cfstore = memtable != null ? memtable.cfs : null; this.view = new AtomicReference<>(); this.loadsstables = loadsstables; this.reset(memtable); }
public Void call() { cfs.data.reset(new Memtable(new AtomicReference<>(CommitLogPosition.NONE), cfs)); return null; } }, true, false);
public Void call() { cfs.data.reset(new Memtable(new AtomicReference<>(CommitLogPosition.NONE), cfs)); return null; } }, true, false);
public Void call() { cfs.data.reset(new Memtable(new AtomicReference<>(CommitLogPosition.NONE), cfs)); return null; } }, true, false);