Tabnine Logo
Tracker.reset
Code IndexAdd Tabnine to your IDE (free)

How to use
reset
method
in
org.apache.cassandra.db.lifecycle.Tracker

Best Java code snippets using org.apache.cassandra.db.lifecycle.Tracker.reset (Showing top 6 results out of 315)

origin: jsevellec/cassandra-unit

/**
 * @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);
}
origin: org.apache.cassandra/cassandra-all

/**
 * @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);
}
origin: com.strapdata.cassandra/cassandra-all

/**
 * @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);
}
origin: com.strapdata.cassandra/cassandra-all

  public Void call()
  {
    cfs.data.reset(new Memtable(new AtomicReference<>(CommitLogPosition.NONE), cfs));
    return null;
  }
}, true, false);
origin: org.apache.cassandra/cassandra-all

  public Void call()
  {
    cfs.data.reset(new Memtable(new AtomicReference<>(CommitLogPosition.NONE), cfs));
    return null;
  }
}, true, false);
origin: jsevellec/cassandra-unit

  public Void call()
  {
    cfs.data.reset(new Memtable(new AtomicReference<>(CommitLogPosition.NONE), cfs));
    return null;
  }
}, true, false);
org.apache.cassandra.db.lifecycleTrackerreset

Javadoc

(Re)initializes the tracker, purging all references.

Popular methods of Tracker

  • tryModify
  • <init>
  • addInitialSSTables
  • apply
    atomically tests permit against the view and applies function to it, if permit yields true, returnin
  • dropSSTables
  • dropSSTablesIfInvalid
  • emptySet
  • isDummy
  • updateSizeTracking
  • addSSTables
  • getCompacting
  • getMemtableFor
    get the Memtable that the ordered writeOp should be directed to
  • getCompacting,
  • getMemtableFor,
  • getUncompacting,
  • getView,
  • markFlushing,
  • maybeIncrementallyBackup,
  • notify,
  • notifyAdded,
  • notifyDeleting,
  • notifyDiscarded

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JFileChooser (javax.swing)
  • JLabel (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now