congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Tracker.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.cassandra.db.lifecycle.Tracker
constructor

Best Java code snippets using org.apache.cassandra.db.lifecycle.Tracker.<init> (Showing top 11 results out of 315)

origin: jsevellec/cassandra-unit

/**
 * construct an empty Transaction with no existing readers
 */
@SuppressWarnings("resource") // log closed during postCleanup
public static LifecycleTransaction offline(OperationType operationType)
{
  Tracker dummy = new Tracker(null, false);
  return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList());
}
origin: org.apache.cassandra/cassandra-all

/**
 * construct an empty Transaction with no existing readers
 */
@SuppressWarnings("resource") // log closed during postCleanup
public static LifecycleTransaction offline(OperationType operationType)
{
  Tracker dummy = new Tracker(null, false);
  return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList());
}
origin: com.strapdata.cassandra/cassandra-all

/**
 * construct an empty Transaction with no existing readers
 */
@SuppressWarnings("resource") // log closed during postCleanup
public static LifecycleTransaction offline(OperationType operationType)
{
  Tracker dummy = new Tracker(null, false);
  return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList());
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

/**
 * construct an empty Transaction with no existing readers
 */
@SuppressWarnings("resource") // log closed during postCleanup
public static LifecycleTransaction offline(OperationType operationType)
{
  Tracker dummy = new Tracker(false);
  return new LifecycleTransaction(dummy, new LogTransaction(operationType, dummy), Collections.emptyList());
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

/**
 * construct a Transaction for use in an offline operation
 */
public static LifecycleTransaction offline(OperationType operationType, Iterable<SSTableReader> readers)
{
  // if offline, for simplicity we just use a dummy tracker
  Tracker dummy = new Tracker(false);
  dummy.addInitialSSTables(readers);
  dummy.apply(updateCompacting(emptySet(), readers));
  return new LifecycleTransaction(dummy, operationType, readers);
}
origin: com.strapdata.cassandra/cassandra-all

/**
 * construct a Transaction for use in an offline operation
 */
public static LifecycleTransaction offline(OperationType operationType, Iterable<SSTableReader> readers)
{
  // if offline, for simplicity we just use a dummy tracker
  Tracker dummy = new Tracker(null, false);
  dummy.addInitialSSTables(readers);
  dummy.apply(updateCompacting(emptySet(), readers));
  return new LifecycleTransaction(dummy, operationType, readers);
}
origin: org.apache.cassandra/cassandra-all

/**
 * construct a Transaction for use in an offline operation
 */
public static LifecycleTransaction offline(OperationType operationType, Iterable<SSTableReader> readers)
{
  // if offline, for simplicity we just use a dummy tracker
  Tracker dummy = new Tracker(null, false);
  dummy.addInitialSSTables(readers);
  dummy.apply(updateCompacting(emptySet(), readers));
  return new LifecycleTransaction(dummy, operationType, readers);
}
origin: jsevellec/cassandra-unit

/**
 * construct a Transaction for use in an offline operation
 */
public static LifecycleTransaction offline(OperationType operationType, Iterable<SSTableReader> readers)
{
  // if offline, for simplicity we just use a dummy tracker
  Tracker dummy = new Tracker(null, false);
  dummy.addInitialSSTables(readers);
  dummy.apply(updateCompacting(emptySet(), readers));
  return new LifecycleTransaction(dummy, operationType, readers);
}
origin: com.strapdata.cassandra/cassandra-all

if (DatabaseDescriptor.isDaemonInitialized())
  initialMemtable = new Memtable(new AtomicReference<>(CommitLog.instance.getCurrentPosition()), this);
data = new Tracker(initialMemtable, loadSSTables);
origin: jsevellec/cassandra-unit

if (DatabaseDescriptor.isDaemonInitialized())
  initialMemtable = new Memtable(new AtomicReference<>(CommitLog.instance.getCurrentPosition()), this);
data = new Tracker(initialMemtable, loadSSTables);
origin: org.apache.cassandra/cassandra-all

if (DatabaseDescriptor.isDaemonInitialized())
  initialMemtable = new Memtable(new AtomicReference<>(CommitLog.instance.getCurrentPosition()), this);
data = new Tracker(initialMemtable, loadSSTables);
org.apache.cassandra.db.lifecycleTracker<init>

Popular methods of Tracker

  • tryModify
  • 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
  • getUncompacting
  • getMemtableFor,
  • getUncompacting,
  • getView,
  • markFlushing,
  • maybeIncrementallyBackup,
  • notify,
  • notifyAdded,
  • notifyDeleting,
  • notifyDiscarded

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JPanel (javax.swing)
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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