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

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

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

origin: org.apache.cassandra/cassandra-all

  public void run()
  {
    logger.debug("Discarding sstable data for truncated CF + indexes");
    data.notifyTruncated(truncatedAt);
    if (DatabaseDescriptor.isAutoSnapshot())
      snapshot(Keyspace.getTimestampedSnapshotNameWithPrefix(name, SNAPSHOT_TRUNCATE_PREFIX));
    discardSSTables(truncatedAt);
    indexManager.truncateAllIndexesBlocking(truncatedAt);
    viewManager.truncateBlocking(replayAfter, truncatedAt);
    SystemKeyspace.saveTruncationRecord(ColumnFamilyStore.this, truncatedAt, replayAfter);
    logger.trace("cleaning out row cache");
    invalidateCaches();
  }
};
origin: jsevellec/cassandra-unit

  public void run()
  {
    logger.debug("Discarding sstable data for truncated CF + indexes");
    data.notifyTruncated(truncatedAt);
    if (DatabaseDescriptor.isAutoSnapshot())
      snapshot(Keyspace.getTimestampedSnapshotNameWithPrefix(name, SNAPSHOT_TRUNCATE_PREFIX));
    discardSSTables(truncatedAt);
    indexManager.truncateAllIndexesBlocking(truncatedAt);
    viewManager.truncateBlocking(replayAfter, truncatedAt);
    SystemKeyspace.saveTruncationRecord(ColumnFamilyStore.this, truncatedAt, replayAfter);
    logger.trace("cleaning out row cache");
    invalidateCaches();
  }
};
origin: com.strapdata.cassandra/cassandra-all

  public void run()
  {
    logger.debug("Discarding sstable data for truncated CF + indexes");
    data.notifyTruncated(truncatedAt);
    if (DatabaseDescriptor.isAutoSnapshot())
      snapshot(Keyspace.getTimestampedSnapshotNameWithPrefix(name, SNAPSHOT_TRUNCATE_PREFIX));
    discardSSTables(truncatedAt);
    indexManager.truncateAllIndexesBlocking(truncatedAt);
    viewManager.truncateBlocking(replayAfter, truncatedAt);
    SystemKeyspace.saveTruncationRecord(ColumnFamilyStore.this, truncatedAt, replayAfter);
    logger.trace("cleaning out row cache");
    invalidateCaches();
  }
};
org.apache.cassandra.db.lifecycleTrackernotifyTruncated

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
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Collectors (java.util.stream)
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 12 Jupyter Notebook Extensions
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