UNPKG

cassandra-server

Version:

A thin Javascript wrapper around Apache Cassandra to provide out of the box server support

752 lines (750 loc) 40.2 kB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_67) on Sun Sep 07 15:29:28 CEST 2014 --> <title>DataTracker (apache-cassandra API)</title> <meta name="date" content="2014-09-07"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="DataTracker (apache-cassandra API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/DataTracker.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/cassandra/db/DataRange.Paging.html" title="class in org.apache.cassandra.db"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../org/apache/cassandra/db/DataTracker.SSTableIntervalTree.html" title="class in org.apache.cassandra.db"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/cassandra/db/DataTracker.html" target="_top">Frames</a></li> <li><a href="DataTracker.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li> <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.apache.cassandra.db</div> <h2 title="Class DataTracker" class="title">Class DataTracker</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>org.apache.cassandra.db.DataTracker</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public class <span class="strong">DataTracker</span> extends java.lang.Object</pre> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested_class_summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static class&nbsp;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.SSTableIntervalTree.html" title="class in org.apache.cassandra.db">DataTracker.SSTableIntervalTree</a></strong></code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static class&nbsp;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.View.html" title="class in org.apache.cassandra.db">DataTracker.View</a></strong></code> <div class="block">An immutable structure holding the current memtable, the memtables pending flush, the sstables for a column family, and the sstables that are active in compaction (a subset of the sstables).</div> </td> </tr> </table> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#cfstore">cfstore</a></strong></code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Collection&lt;<a href="../../../../org/apache/cassandra/notifications/INotificationConsumer.html" title="interface in org.apache.cassandra.notifications">INotificationConsumer</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#subscribers">subscribers</a></strong></code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#DataTracker(org.apache.cassandra.db.ColumnFamilyStore)">DataTracker</a></strong>(<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&nbsp;cfstore)</code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#addInitialSSTables(java.util.Collection)">addInitialSSTables</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#addSSTables(java.util.Collection)">addSSTables</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../org/apache/cassandra/db/DataTracker.SSTableIntervalTree.html" title="class in org.apache.cassandra.db">DataTracker.SSTableIntervalTree</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#buildIntervalTree(java.lang.Iterable)">buildIntervalTree</a></strong>(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#estimatedKeys()">estimatedKeys</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Set&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getCompacting()">getCompacting</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getDroppableTombstoneRatio()">getDroppableTombstoneRatio</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getMeanColumns()">getMeanColumns</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getMemtableFor(org.apache.cassandra.utils.concurrent.OpOrder.Group)">getMemtableFor</a></strong>(<a href="../../../../org/apache/cassandra/utils/concurrent/OpOrder.Group.html" title="class in org.apache.cassandra.utils.concurrent">OpOrder.Group</a>&nbsp;opGroup)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.util.Set&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getSSTables()">getSSTables</a></strong>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>java.util.Set&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getUncompactingSSTables()">getUncompactingSSTables</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getUncompactingSSTables(java.lang.Iterable)">getUncompactingSSTables</a></strong>(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;candidates)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/DataTracker.View.html" title="class in org.apache.cassandra.db">DataTracker.View</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#getView()">getView</a></strong>()</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#markCompactedSSTablesReplaced(java.util.Collection,%20java.util.Collection,%20org.apache.cassandra.db.compaction.OperationType)">markCompactedSSTablesReplaced</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables, java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;allReplacements, <a href="../../../../org/apache/cassandra/db/compaction/OperationType.html" title="enum in org.apache.cassandra.db.compaction">OperationType</a>&nbsp;compactionType)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#markCompacting(java.lang.Iterable)">markCompacting</a></strong>(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#markFlushing(org.apache.cassandra.db.Memtable)">markFlushing</a></strong>(<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;memtable)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#markObsolete(java.util.Collection,%20org.apache.cassandra.db.compaction.OperationType)">markObsolete</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables, <a href="../../../../org/apache/cassandra/db/compaction/OperationType.html" title="enum in org.apache.cassandra.db.compaction">OperationType</a>&nbsp;compactionType)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#maybeIncrementallyBackup(org.apache.cassandra.io.sstable.SSTableReader)">maybeIncrementallyBackup</a></strong>(<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;sstable)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#notifyAdded(org.apache.cassandra.io.sstable.SSTableReader)">notifyAdded</a></strong>(<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;added)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#notifyDeleting(org.apache.cassandra.io.sstable.SSTableReader)">notifyDeleting</a></strong>(<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;deleting)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#notifyRenewed(org.apache.cassandra.db.Memtable)">notifyRenewed</a></strong>(<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;renewed)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#notifySSTableRepairedStatusChanged(java.util.Collection)">notifySSTableRepairedStatusChanged</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;repairStatusesChanged)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#notifySSTablesChanged(java.util.Collection,%20java.util.Collection,%20org.apache.cassandra.db.compaction.OperationType)">notifySSTablesChanged</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;removed, java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;added, <a href="../../../../org/apache/cassandra/db/compaction/OperationType.html" title="enum in org.apache.cassandra.db.compaction">OperationType</a>&nbsp;compactionType)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#replaceFlushed(org.apache.cassandra.db.Memtable,%20org.apache.cassandra.io.sstable.SSTableReader)">replaceFlushed</a></strong>(<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;memtable, <a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;sstable)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#replaceReaders(java.util.Collection,%20java.util.Collection)">replaceReaders</a></strong>(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;oldSSTables, java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;newSSTables)</code> <div class="block">A special kind of replacement for SSTableReaders that were cloned with a new index summary sampling level (see SSTableReader.cloneWithNewSummarySamplingLevel and CASSANDRA-5519).</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#spaceReclaimed(long)">spaceReclaimed</a></strong>(long&nbsp;size)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#subscribe(org.apache.cassandra.notifications.INotificationConsumer)">subscribe</a></strong>(<a href="../../../../org/apache/cassandra/notifications/INotificationConsumer.html" title="interface in org.apache.cassandra.notifications">INotificationConsumer</a>&nbsp;consumer)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#switchMemtable(boolean)">switchMemtable</a></strong>(boolean&nbsp;truncating)</code> <div class="block">Switch the current memtable.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#unmarkCompacting(java.lang.Iterable)">unmarkCompacting</a></strong>(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;unmark)</code> <div class="block">Removes files from compacting status: this is different from 'markObsolete' because it should be run regardless of whether a compaction succeeded.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#unreferenceSSTables()">unreferenceSSTables</a></strong>()</code> <div class="block">removes all sstables that are not busy compacting.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/cassandra/db/DataTracker.html#unsubscribe(org.apache.cassandra.notifications.INotificationConsumer)">unsubscribe</a></strong>(<a href="../../../../org/apache/cassandra/notifications/INotificationConsumer.html" title="interface in org.apache.cassandra.notifications">INotificationConsumer</a>&nbsp;consumer)</code>&nbsp;</td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class&nbsp;java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field_detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="subscribers"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>subscribers</h4> <pre>public final&nbsp;java.util.Collection&lt;<a href="../../../../org/apache/cassandra/notifications/INotificationConsumer.html" title="interface in org.apache.cassandra.notifications">INotificationConsumer</a>&gt; subscribers</pre> </li> </ul> <a name="cfstore"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>cfstore</h4> <pre>public final&nbsp;<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a> cfstore</pre> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="DataTracker(org.apache.cassandra.db.ColumnFamilyStore)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>DataTracker</h4> <pre>public&nbsp;DataTracker(<a href="../../../../org/apache/cassandra/db/ColumnFamilyStore.html" title="class in org.apache.cassandra.db">ColumnFamilyStore</a>&nbsp;cfstore)</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getMemtableFor(org.apache.cassandra.utils.concurrent.OpOrder.Group)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMemtableFor</h4> <pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;getMemtableFor(<a href="../../../../org/apache/cassandra/utils/concurrent/OpOrder.Group.html" title="class in org.apache.cassandra.utils.concurrent">OpOrder.Group</a>&nbsp;opGroup)</pre> </li> </ul> <a name="getSSTables()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSSTables</h4> <pre>public&nbsp;java.util.Set&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;getSSTables()</pre> </li> </ul> <a name="getUncompactingSSTables()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getUncompactingSSTables</h4> <pre>public&nbsp;java.util.Set&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;getUncompactingSSTables()</pre> </li> </ul> <a name="getUncompactingSSTables(java.lang.Iterable)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getUncompactingSSTables</h4> <pre>public&nbsp;java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;getUncompactingSSTables(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;candidates)</pre> </li> </ul> <a name="getView()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getView</h4> <pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/DataTracker.View.html" title="class in org.apache.cassandra.db">DataTracker.View</a>&nbsp;getView()</pre> </li> </ul> <a name="switchMemtable(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>switchMemtable</h4> <pre>public&nbsp;<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;switchMemtable(boolean&nbsp;truncating)</pre> <div class="block">Switch the current memtable. This atomically appends a new memtable to the end of the list of active memtables, returning the previously last memtable. It leaves the previous Memtable in the list of live memtables until discarding(memtable) is called. These two methods must be synchronized/paired, i.e. m = switchMemtable must be followed by discarding(m), they cannot be interleaved.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>the previously active memtable</dd></dl> </li> </ul> <a name="markFlushing(org.apache.cassandra.db.Memtable)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>markFlushing</h4> <pre>public&nbsp;void&nbsp;markFlushing(<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;memtable)</pre> </li> </ul> <a name="replaceFlushed(org.apache.cassandra.db.Memtable, org.apache.cassandra.io.sstable.SSTableReader)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>replaceFlushed</h4> <pre>public&nbsp;void&nbsp;replaceFlushed(<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;memtable, <a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;sstable)</pre> </li> </ul> <a name="maybeIncrementallyBackup(org.apache.cassandra.io.sstable.SSTableReader)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>maybeIncrementallyBackup</h4> <pre>public&nbsp;void&nbsp;maybeIncrementallyBackup(<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;sstable)</pre> </li> </ul> <a name="markCompacting(java.lang.Iterable)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>markCompacting</h4> <pre>public&nbsp;boolean&nbsp;markCompacting(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</pre> <dl><dt><span class="strong">Returns:</span></dt><dd>true if we are able to mark the given @param sstables as compacted, before anyone else Note that we could acquire references on the marked sstables and release them in unmarkCompacting, but since we will never call markObsolete on a sstable marked as compacting (unless there is a serious bug), we can skip this.</dd></dl> </li> </ul> <a name="unmarkCompacting(java.lang.Iterable)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>unmarkCompacting</h4> <pre>public&nbsp;void&nbsp;unmarkCompacting(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;unmark)</pre> <div class="block">Removes files from compacting status: this is different from 'markObsolete' because it should be run regardless of whether a compaction succeeded.</div> </li> </ul> <a name="markObsolete(java.util.Collection, org.apache.cassandra.db.compaction.OperationType)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>markObsolete</h4> <pre>public&nbsp;void&nbsp;markObsolete(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables, <a href="../../../../org/apache/cassandra/db/compaction/OperationType.html" title="enum in org.apache.cassandra.db.compaction">OperationType</a>&nbsp;compactionType)</pre> </li> </ul> <a name="markCompactedSSTablesReplaced(java.util.Collection, java.util.Collection, org.apache.cassandra.db.compaction.OperationType)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>markCompactedSSTablesReplaced</h4> <pre>public&nbsp;void&nbsp;markCompactedSSTablesReplaced(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables, java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;allReplacements, <a href="../../../../org/apache/cassandra/db/compaction/OperationType.html" title="enum in org.apache.cassandra.db.compaction">OperationType</a>&nbsp;compactionType)</pre> </li> </ul> <a name="addInitialSSTables(java.util.Collection)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addInitialSSTables</h4> <pre>public&nbsp;void&nbsp;addInitialSSTables(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</pre> </li> </ul> <a name="addSSTables(java.util.Collection)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addSSTables</h4> <pre>public&nbsp;void&nbsp;addSSTables(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</pre> </li> </ul> <a name="unreferenceSSTables()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>unreferenceSSTables</h4> <pre>public&nbsp;void&nbsp;unreferenceSSTables()</pre> <div class="block">removes all sstables that are not busy compacting.</div> </li> </ul> <a name="replaceReaders(java.util.Collection, java.util.Collection)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>replaceReaders</h4> <pre>public&nbsp;void&nbsp;replaceReaders(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;oldSSTables, java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;newSSTables)</pre> <div class="block">A special kind of replacement for SSTableReaders that were cloned with a new index summary sampling level (see SSTableReader.cloneWithNewSummarySamplingLevel and CASSANDRA-5519). This does not mark the old reader as compacted.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>oldSSTables</code> - replaced readers</dd><dd><code>newSSTables</code> - replacement readers</dd></dl> </li> </ul> <a name="spaceReclaimed(long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>spaceReclaimed</h4> <pre>public&nbsp;void&nbsp;spaceReclaimed(long&nbsp;size)</pre> </li> </ul> <a name="estimatedKeys()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>estimatedKeys</h4> <pre>public&nbsp;long&nbsp;estimatedKeys()</pre> </li> </ul> <a name="getMeanColumns()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMeanColumns</h4> <pre>public&nbsp;int&nbsp;getMeanColumns()</pre> </li> </ul> <a name="getDroppableTombstoneRatio()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDroppableTombstoneRatio</h4> <pre>public&nbsp;double&nbsp;getDroppableTombstoneRatio()</pre> </li> </ul> <a name="notifySSTablesChanged(java.util.Collection, java.util.Collection, org.apache.cassandra.db.compaction.OperationType)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>notifySSTablesChanged</h4> <pre>public&nbsp;void&nbsp;notifySSTablesChanged(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;removed, java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;added, <a href="../../../../org/apache/cassandra/db/compaction/OperationType.html" title="enum in org.apache.cassandra.db.compaction">OperationType</a>&nbsp;compactionType)</pre> </li> </ul> <a name="notifyAdded(org.apache.cassandra.io.sstable.SSTableReader)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>notifyAdded</h4> <pre>public&nbsp;void&nbsp;notifyAdded(<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;added)</pre> </li> </ul> <a name="notifySSTableRepairedStatusChanged(java.util.Collection)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>notifySSTableRepairedStatusChanged</h4> <pre>public&nbsp;void&nbsp;notifySSTableRepairedStatusChanged(java.util.Collection&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;repairStatusesChanged)</pre> </li> </ul> <a name="notifyDeleting(org.apache.cassandra.io.sstable.SSTableReader)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>notifyDeleting</h4> <pre>public&nbsp;void&nbsp;notifyDeleting(<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&nbsp;deleting)</pre> </li> </ul> <a name="notifyRenewed(org.apache.cassandra.db.Memtable)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>notifyRenewed</h4> <pre>public&nbsp;void&nbsp;notifyRenewed(<a href="../../../../org/apache/cassandra/db/Memtable.html" title="class in org.apache.cassandra.db">Memtable</a>&nbsp;renewed)</pre> </li> </ul> <a name="subscribe(org.apache.cassandra.notifications.INotificationConsumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>subscribe</h4> <pre>public&nbsp;void&nbsp;subscribe(<a href="../../../../org/apache/cassandra/notifications/INotificationConsumer.html" title="interface in org.apache.cassandra.notifications">INotificationConsumer</a>&nbsp;consumer)</pre> </li> </ul> <a name="unsubscribe(org.apache.cassandra.notifications.INotificationConsumer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>unsubscribe</h4> <pre>public&nbsp;void&nbsp;unsubscribe(<a href="../../../../org/apache/cassandra/notifications/INotificationConsumer.html" title="interface in org.apache.cassandra.notifications">INotificationConsumer</a>&nbsp;consumer)</pre> </li> </ul> <a name="buildIntervalTree(java.lang.Iterable)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>buildIntervalTree</h4> <pre>public static&nbsp;<a href="../../../../org/apache/cassandra/db/DataTracker.SSTableIntervalTree.html" title="class in org.apache.cassandra.db">DataTracker.SSTableIntervalTree</a>&nbsp;buildIntervalTree(java.lang.Iterable&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;sstables)</pre> </li> </ul> <a name="getCompacting()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getCompacting</h4> <pre>public&nbsp;java.util.Set&lt;<a href="../../../../org/apache/cassandra/io/sstable/SSTableReader.html" title="class in org.apache.cassandra.io.sstable">SSTableReader</a>&gt;&nbsp;getCompacting()</pre> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/DataTracker.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/apache/cassandra/db/DataRange.Paging.html" title="class in org.apache.cassandra.db"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../org/apache/cassandra/db/DataTracker.SSTableIntervalTree.html" title="class in org.apache.cassandra.db"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/cassandra/db/DataTracker.html" target="_top">Frames</a></li> <li><a href="DataTracker.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li> <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li> <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &copy; 2014 The Apache Software Foundation</small></p> </body> </html>