cassandra-server
Version:
A thin Javascript wrapper around Apache Cassandra to provide out of the box server support
350 lines (349 loc) • 17.4 kB
HTML
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Sun Sep 07 15:29:36 CEST 2014 -->
<title>org.apache.cassandra.io.util (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="org.apache.cassandra.io.util (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 class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.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/io/sstable/metadata/package-summary.html">Prev Package</a></li>
<li><a href="../../../../../org/apache/cassandra/locator/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/cassandra/io/util/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.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>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package org.apache.cassandra.io.util</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataOutputPlus.html" title="interface in org.apache.cassandra.io.util">DataOutputPlus</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/FileDataInput.html" title="interface in org.apache.cassandra.io.util">FileDataInput</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/FileMark.html" title="interface in org.apache.cassandra.io.util">FileMark</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/IAllocator.html" title="interface in org.apache.cassandra.io.util">IAllocator</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/ICompressedFile.html" title="interface in org.apache.cassandra.io.util">ICompressedFile</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/JEMallocAllocator.JEMLibrary.html" title="interface in org.apache.cassandra.io.util">JEMallocAllocator.JEMLibrary</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/AbstractDataInput.html" title="class in org.apache.cassandra.io.util">AbstractDataInput</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/AbstractDataOutput.html" title="class in org.apache.cassandra.io.util">AbstractDataOutput</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/BufferedPoolingSegmentedFile.html" title="class in org.apache.cassandra.io.util">BufferedPoolingSegmentedFile</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/BufferedPoolingSegmentedFile.Builder.html" title="class in org.apache.cassandra.io.util">BufferedPoolingSegmentedFile.Builder</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/BufferedSegmentedFile.html" title="class in org.apache.cassandra.io.util">BufferedSegmentedFile</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/BufferedSegmentedFile.Builder.html" title="class in org.apache.cassandra.io.util">BufferedSegmentedFile.Builder</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/ChecksummedSequentialWriter.html" title="class in org.apache.cassandra.io.util">ChecksummedSequentialWriter</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/CompressedPoolingSegmentedFile.html" title="class in org.apache.cassandra.io.util">CompressedPoolingSegmentedFile</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/CompressedPoolingSegmentedFile.Builder.html" title="class in org.apache.cassandra.io.util">CompressedPoolingSegmentedFile.Builder</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/CompressedSegmentedFile.html" title="class in org.apache.cassandra.io.util">CompressedSegmentedFile</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/CompressedSegmentedFile.Builder.html" title="class in org.apache.cassandra.io.util">CompressedSegmentedFile.Builder</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataIntegrityMetadata.html" title="class in org.apache.cassandra.io.util">DataIntegrityMetadata</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataIntegrityMetadata.ChecksumValidator.html" title="class in org.apache.cassandra.io.util">DataIntegrityMetadata.ChecksumValidator</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataIntegrityMetadata.ChecksumWriter.html" title="class in org.apache.cassandra.io.util">DataIntegrityMetadata.ChecksumWriter</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataOutputBuffer.html" title="class in org.apache.cassandra.io.util">DataOutputBuffer</a></td>
<td class="colLast">
<div class="block">An implementation of the DataOutputStream interface using a FastByteArrayOutputStream and exposing
its buffer so copies can be avoided.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataOutputByteBuffer.html" title="class in org.apache.cassandra.io.util">DataOutputByteBuffer</a></td>
<td class="colLast">
<div class="block">An implementation of the DataOutputStream interface using a FastByteArrayOutputStream and exposing
its buffer so copies can be avoided.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataOutputStreamAndChannel.html" title="class in org.apache.cassandra.io.util">DataOutputStreamAndChannel</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DataOutputStreamPlus.html" title="class in org.apache.cassandra.io.util">DataOutputStreamPlus</a></td>
<td class="colLast">
<div class="block">When possible use <a href="../../../../../org/apache/cassandra/io/util/DataOutputStreamAndChannel.html" title="class in org.apache.cassandra.io.util"><code>DataOutputStreamAndChannel</code></a> instead of this class, as it will
be more efficient.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/DiskAwareRunnable.html" title="class in org.apache.cassandra.io.util">DiskAwareRunnable</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/FastByteArrayInputStream.html" title="class in org.apache.cassandra.io.util">FastByteArrayInputStream</a></td>
<td class="colLast">
<div class="block">A specialized <code>InputStream</code> for reading the contents of a byte array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/FastByteArrayOutputStream.html" title="class in org.apache.cassandra.io.util">FastByteArrayOutputStream</a></td>
<td class="colLast">
<div class="block">A specialized <code>OutputStream</code> for class for writing content to an
(internal) byte array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/FileUtils.html" title="class in org.apache.cassandra.io.util">FileUtils</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/JEMallocAllocator.html" title="class in org.apache.cassandra.io.util">JEMallocAllocator</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/LengthAvailableInputStream.html" title="class in org.apache.cassandra.io.util">LengthAvailableInputStream</a></td>
<td class="colLast">
<div class="block">a FilterInputStream that returns the remaining bytes to read from available()
regardless of whether the device is ready to provide them.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/MappedFileDataInput.html" title="class in org.apache.cassandra.io.util">MappedFileDataInput</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/Memory.html" title="class in org.apache.cassandra.io.util">Memory</a></td>
<td class="colLast">
<div class="block">An off-heap region of memory that must be manually free'd when no longer needed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/MemoryInputStream.html" title="class in org.apache.cassandra.io.util">MemoryInputStream</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/MemoryOutputStream.html" title="class in org.apache.cassandra.io.util">MemoryOutputStream</a></td>
<td class="colLast">
<div class="block">This class provides a way to stream the writes into the <a href="../../../../../org/apache/cassandra/io/util/Memory.html" title="class in org.apache.cassandra.io.util"><code>Memory</code></a></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/MmappedSegmentedFile.html" title="class in org.apache.cassandra.io.util">MmappedSegmentedFile</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/NativeAllocator.html" title="class in org.apache.cassandra.io.util">NativeAllocator</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/PoolingSegmentedFile.html" title="class in org.apache.cassandra.io.util">PoolingSegmentedFile</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/RandomAccessReader.html" title="class in org.apache.cassandra.io.util">RandomAccessReader</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/RandomAccessReader.BufferedRandomAccessFileMark.html" title="class in org.apache.cassandra.io.util">RandomAccessReader.BufferedRandomAccessFileMark</a></td>
<td class="colLast">
<div class="block">Class to hold a mark to the position of the file</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/SegmentedFile.html" title="class in org.apache.cassandra.io.util">SegmentedFile</a></td>
<td class="colLast">
<div class="block">Abstracts a read-only file that has been split into segments, each of which can be represented by an independent
FileDataInput.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/SegmentedFile.Builder.html" title="class in org.apache.cassandra.io.util">SegmentedFile.Builder</a></td>
<td class="colLast">
<div class="block">Collects potential segmentation points in an underlying file, and builds a SegmentedFile to represent it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/SequentialWriter.html" title="class in org.apache.cassandra.io.util">SequentialWriter</a></td>
<td class="colLast">
<div class="block">Adds buffering, mark, and fsyncing to OutputStream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/SequentialWriter.BufferedFileWriterMark.html" title="class in org.apache.cassandra.io.util">SequentialWriter.BufferedFileWriterMark</a></td>
<td class="colLast">
<div class="block">Class to hold a mark to the position of the file</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../org/apache/cassandra/io/util/ThrottledReader.html" title="class in org.apache.cassandra.io.util">ThrottledReader</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= 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 class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-use.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/io/sstable/metadata/package-summary.html">Prev Package</a></li>
<li><a href="../../../../../org/apache/cassandra/locator/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/cassandra/io/util/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.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>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2014 The Apache Software Foundation</small></p>
</body>
</html>