<!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_51) on Wed Sep 16 10:26:36 PDT 2015 -->
<title>StorageLevel</title>
<meta name="date" content="2015-09-16">
<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="StorageLevel";
}
//-->
</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="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/spark/storage/ShuffleIndexBlockId.html" title="class in org.apache.spark.storage"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/spark/storage/StorageStatus.html" title="class in org.apache.spark.storage"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/spark/storage/StorageLevel.html" target="_top">Frames</a></li>
<li><a href="StorageLevel.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: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </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.spark.storage</div>
<h2 title="Class StorageLevel" class="title">Class StorageLevel</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.spark.storage.StorageLevel</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Externalizable, java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">StorageLevel</span>
extends java.lang.Object
implements java.io.Externalizable</pre>
<div class="block">:: DeveloperApi ::
Flags for controlling the storage of an RDD. Each StorageLevel records whether to use memory,
or ExternalBlockStore, whether to drop the RDD to disk if it falls out of memory or
ExternalBlockStore, whether to keep the data in memory in a serialized format, and whether
to replicate the RDD partitions on multiple nodes.
<p>
The <code>StorageLevel$</code> singleton object contains some static constants
for commonly useful storage levels. To create your own storage level object, use the
factory method of the singleton object (<code>StorageLevel(...)</code>).</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.apache.spark.storage.StorageLevel">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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"> </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/spark/storage/StorageLevel.html#StorageLevel()">StorageLevel</a></strong>()</code> </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"> </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>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#apply(boolean, boolean, boolean, boolean, int)">apply</a></strong>(boolean useDisk,
boolean useMemory,
boolean useOffHeap,
boolean deserialized,
int replication)</code>
<div class="block">:: DeveloperApi ::
Create a new StorageLevel object without setting useOffHeap.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#apply(boolean, boolean, boolean, int)">apply</a></strong>(boolean useDisk,
boolean useMemory,
boolean deserialized,
int replication)</code>
<div class="block">:: DeveloperApi ::
Create a new StorageLevel object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#apply(int, int)">apply</a></strong>(int flags,
int replication)</code>
<div class="block">:: DeveloperApi ::
Create a new StorageLevel object from its integer representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#apply(java.io.ObjectInput)">apply</a></strong>(java.io.ObjectInput in)</code>
<div class="block">:: DeveloperApi ::
Read StorageLevel object from ObjectInput stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#clone()">clone</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#description()">description</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#deserialized()">deserialized</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#DISK_ONLY_2()">DISK_ONLY_2</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#DISK_ONLY()">DISK_ONLY</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object other)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#fromString(java.lang.String)">fromString</a></strong>(java.lang.String s)</code>
<div class="block">:: DeveloperApi ::
Return the StorageLevel object with the specified name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#hashCode()">hashCode</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#isValid()">isValid</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_AND_DISK_2()">MEMORY_AND_DISK_2</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_AND_DISK_SER_2()">MEMORY_AND_DISK_SER_2</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_AND_DISK_SER()">MEMORY_AND_DISK_SER</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_AND_DISK()">MEMORY_AND_DISK</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_ONLY_2()">MEMORY_ONLY_2</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_ONLY_SER_2()">MEMORY_ONLY_SER_2</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_ONLY_SER()">MEMORY_ONLY_SER</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#MEMORY_ONLY()">MEMORY_ONLY</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#NONE()">NONE</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#OFF_HEAP()">OFF_HEAP</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#readExternal(java.io.ObjectInput)">readExternal</a></strong>(java.io.ObjectInput in)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#replication()">replication</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.concurrent.ConcurrentHashMap<<a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>,<a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#storageLevelCache()">storageLevelCache</a></strong>()</code>
<div class="block">:: DeveloperApi ::
Read StorageLevel object from ObjectInput stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#toInt()">toInt</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#toString()">toString</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#useDisk()">useDisk</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#useMemory()">useMemory</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#useOffHeap()">useOffHeap</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/storage/StorageLevel.html#writeExternal(java.io.ObjectOutput)">writeExternal</a></strong>(java.io.ObjectOutput out)</code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="StorageLevel()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StorageLevel</h4>
<pre>public StorageLevel()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="NONE()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NONE</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> NONE()</pre>
</li>
</ul>
<a name="DISK_ONLY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DISK_ONLY</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> DISK_ONLY()</pre>
</li>
</ul>
<a name="DISK_ONLY_2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DISK_ONLY_2</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> DISK_ONLY_2()</pre>
</li>
</ul>
<a name="MEMORY_ONLY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_ONLY</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY()</pre>
</li>
</ul>
<a name="MEMORY_ONLY_2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_ONLY_2</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_2()</pre>
</li>
</ul>
<a name="MEMORY_ONLY_SER()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_ONLY_SER</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_SER()</pre>
</li>
</ul>
<a name="MEMORY_ONLY_SER_2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_ONLY_SER_2</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_SER_2()</pre>
</li>
</ul>
<a name="MEMORY_AND_DISK()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_AND_DISK</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK()</pre>
</li>
</ul>
<a name="MEMORY_AND_DISK_2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_AND_DISK_2</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_2()</pre>
</li>
</ul>
<a name="MEMORY_AND_DISK_SER()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_AND_DISK_SER</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_SER()</pre>
</li>
</ul>
<a name="MEMORY_AND_DISK_SER_2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MEMORY_AND_DISK_SER_2</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_SER_2()</pre>
</li>
</ul>
<a name="OFF_HEAP()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OFF_HEAP</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> OFF_HEAP()</pre>
</li>
</ul>
<a name="fromString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromString</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> fromString(java.lang.String s)</pre>
<div class="block">:: DeveloperApi ::
Return the StorageLevel object with the specified name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="apply(boolean, boolean, boolean, boolean, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> apply(boolean useDisk,
boolean useMemory,
boolean useOffHeap,
boolean deserialized,
int replication)</pre>
<div class="block">:: DeveloperApi ::
Create a new StorageLevel object without setting useOffHeap.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>useDisk</code> - (undocumented)</dd><dd><code>useMemory</code> - (undocumented)</dd><dd><code>useOffHeap</code> - (undocumented)</dd><dd><code>deserialized</code> - (undocumented)</dd><dd><code>replication</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="apply(boolean, boolean, boolean, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> apply(boolean useDisk,
boolean useMemory,
boolean deserialized,
int replication)</pre>
<div class="block">:: DeveloperApi ::
Create a new StorageLevel object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>useDisk</code> - (undocumented)</dd><dd><code>useMemory</code> - (undocumented)</dd><dd><code>deserialized</code> - (undocumented)</dd><dd><code>replication</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="apply(int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> apply(int flags,
int replication)</pre>
<div class="block">:: DeveloperApi ::
Create a new StorageLevel object from its integer representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>flags</code> - (undocumented)</dd><dd><code>replication</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="apply(java.io.ObjectInput)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre>public static <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> apply(java.io.ObjectInput in)</pre>
<div class="block">:: DeveloperApi ::
Read StorageLevel object from ObjectInput stream.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="storageLevelCache()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>storageLevelCache</h4>
<pre>public static java.util.concurrent.ConcurrentHashMap<<a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>,<a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a>> storageLevelCache()</pre>
<div class="block">:: DeveloperApi ::
Read StorageLevel object from ObjectInput stream.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="useDisk()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>useDisk</h4>
<pre>public boolean useDisk()</pre>
</li>
</ul>
<a name="useMemory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>useMemory</h4>
<pre>public boolean useMemory()</pre>
</li>
</ul>
<a name="useOffHeap()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>useOffHeap</h4>
<pre>public boolean useOffHeap()</pre>
</li>
</ul>
<a name="deserialized()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserialized</h4>
<pre>public boolean deserialized()</pre>
</li>
</ul>
<a name="replication()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replication</h4>
<pre>public int replication()</pre>
</li>
</ul>
<a name="clone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public <a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> clone()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>clone</code> in class <code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public boolean equals(java.lang.Object other)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>equals</code> in class <code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="isValid()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValid</h4>
<pre>public boolean isValid()</pre>
</li>
</ul>
<a name="toInt()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toInt</h4>
<pre>public int toInt()</pre>
</li>
</ul>
<a name="writeExternal(java.io.ObjectOutput)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeExternal</h4>
<pre>public void writeExternal(java.io.ObjectOutput out)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>writeExternal</code> in interface <code>java.io.Externalizable</code></dd>
</dl>
</li>
</ul>
<a name="readExternal(java.io.ObjectInput)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readExternal</h4>
<pre>public void readExternal(java.io.ObjectInput in)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>readExternal</code> in interface <code>java.io.Externalizable</code></dd>
</dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public java.lang.String toString()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public int hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="description()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>description</h4>
<pre>public java.lang.String description()</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="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/spark/storage/ShuffleIndexBlockId.html" title="class in org.apache.spark.storage"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/spark/storage/StorageStatus.html" title="class in org.apache.spark.storage"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/spark/storage/StorageLevel.html" target="_top">Frames</a></li>
<li><a href="StorageLevel.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: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<script defer="defer" type="text/javascript" src="../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../lib/api-javadocs.js"></script></body>
</html>