blob: 1af4ed5abf31440d03a6feb9f7295f81150272d3 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.18) on Wed Mar 01 02:01:42 GMT 2023 -->
<title>RoundRobinPackingTest (Heron Java API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2023-03-01">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RoundRobinPackingTest (Heron Java API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.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" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.heron.packing.roundrobin</a></div>
<h2 title="Class RoundRobinPackingTest" class="title">Class RoundRobinPackingTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../CommonPackingTests.html" title="class in org.apache.heron.packing">org.apache.heron.packing.CommonPackingTests</a></li>
<li>
<ul class="inheritance">
<li>org.apache.heron.packing.roundrobin.RoundRobinPackingTest</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">RoundRobinPackingTest</span>
extends <a href="../CommonPackingTests.html" title="class in org.apache.heron.packing">CommonPackingTests</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.heron.packing.CommonPackingTests">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.heron.packing.<a href="../CommonPackingTests.html" title="class in org.apache.heron.packing">CommonPackingTests</a></h3>
<code><a href="../CommonPackingTests.html#BOLT_NAME">BOLT_NAME</a>, <a href="../CommonPackingTests.html#boltParallelism">boltParallelism</a>, <a href="../CommonPackingTests.html#DEFAULT_CONTAINER_PADDING_PERCENT">DEFAULT_CONTAINER_PADDING_PERCENT</a>, <a href="../CommonPackingTests.html#instanceDefaultResources">instanceDefaultResources</a>, <a href="../CommonPackingTests.html#numContainers">numContainers</a>, <a href="../CommonPackingTests.html#SPOUT_NAME">SPOUT_NAME</a>, <a href="../CommonPackingTests.html#spoutParallelism">spoutParallelism</a>, <a href="../CommonPackingTests.html#topology">topology</a>, <a href="../CommonPackingTests.html#topologyConfig">topologyConfig</a>, <a href="../CommonPackingTests.html#totalInstances">totalInstances</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">RoundRobinPackingTest</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected <a href="../../spi/packing/IPacking.html" title="interface in org.apache.heron.spi.packing">IPacking</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPackingImpl()">getPackingImpl</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="../../spi/packing/IRepacking.html" title="interface in org.apache.heron.spi.packing">IRepacking</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRepackingImpl()">getRepackingImpl</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setUp()">setUp</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCheckInsufficientCpuFailure()">testCheckInsufficientCpuFailure</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCheckInsufficientRamFailure()">testCheckInsufficientRamFailure</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteCpuMapRequestedWithExactlyEnoughResource()">testCompleteCpuMapRequestedWithExactlyEnoughResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario CPU map config is completely set and there are exactly enough resource</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteCpuMapRequestedWithLessThanEnoughResource()">testCompleteCpuMapRequestedWithLessThanEnoughResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario CPU map config is completely set and there are less than enough resource</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteCpuMapRequestedWithMoreThanEnoughResource()">testCompleteCpuMapRequestedWithMoreThanEnoughResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario CPU map config is completely set and there are more than enough resource</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteCpuMapRequestedWithoutPaddingResource()">testCompleteCpuMapRequestedWithoutPaddingResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario CPU map config is completely set
and there are exactly enough resource for instances, but not enough for padding</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteRamMapRequestedWithExactlyEnoughResource()">testCompleteRamMapRequestedWithExactlyEnoughResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario RAM map config is completely set</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteRamMapRequestedWithLessThanEnoughResource()">testCompleteRamMapRequestedWithLessThanEnoughResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario RAM map config is completely set</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteRamMapRequestedWithMoreThanEnoughResource()">testCompleteRamMapRequestedWithMoreThanEnoughResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario RAM map config is completely set</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testCompleteRamMapRequestedWithoutPaddingResource()">testCompleteRamMapRequestedWithoutPaddingResource</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario RAM map config is completely set</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testContainerRequestedResources()">testContainerRequestedResources</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario container level resource config are set</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testContainerRequestedResourcesWhenRamPaddingSet()">testContainerRequestedResourcesWhenRamPaddingSet</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario container level resource config are set</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testDefaultResources()">testDefaultResources</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testEvenPacking()">testEvenPacking</a></span>()</code></th>
<td class="colLast">
<div class="block">test even packing of instances</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFullRamMapWithoutContainerRequestedResources()">testFullRamMapWithoutContainerRequestedResources</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testHugePartialRamMapWithoutContainerRequestedResources()">testHugePartialRamMapWithoutContainerRequestedResources</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testNoRamMapWithoutContainerRequestedResources()">testNoRamMapWithoutContainerRequestedResources</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPartialCpuMap()">testPartialCpuMap</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario CPU map config is partially set</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPartialRamMap()">testPartialRamMap</a></span>()</code></th>
<td class="colLast">
<div class="block">Test the scenario RAM map config is partially set</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testPartialRamMapWithoutContainerRequestedResources()">testPartialRamMapWithoutContainerRequestedResources</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testRepackingWithFewerTotalInstances()">testRepackingWithFewerTotalInstances</a></span>()</code></th>
<td class="colLast">
<div class="block">test re-packing with fewer total instances</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testRepackingWithMoreTotalInstances()">testRepackingWithMoreTotalInstances</a></span>()</code></th>
<td class="colLast">
<div class="block">test re-packing with more total instances</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testRepackingWithSameTotalInstances()">testRepackingWithSameTotalInstances</a></span>()</code></th>
<td class="colLast">
<div class="block">test re-packing with same total instances</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testZeroContainersFailure()">testZeroContainersFailure</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.heron.packing.CommonPackingTests">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.heron.packing.<a href="../CommonPackingTests.html" title="class in org.apache.heron.packing">CommonPackingTests</a></h3>
<code><a href="../CommonPackingTests.html#doDefaultScalingTest(java.util.Map,int,int,org.apache.heron.spi.packing.Resource)">doDefaultScalingTest</a>, <a href="../CommonPackingTests.html#doPackingAndScalingTest(org.apache.heron.api.generated.TopologyAPI.Topology,java.util.Map,org.apache.heron.spi.packing.Resource,int,org.apache.heron.spi.packing.Resource,int,int,int,org.apache.heron.spi.packing.Resource)">doPackingAndScalingTest</a>, <a href="../CommonPackingTests.html#doPackingTest(org.apache.heron.api.generated.TopologyAPI.Topology,org.apache.heron.spi.packing.Resource,int,org.apache.heron.spi.packing.Resource,int,int,org.apache.heron.spi.packing.Resource)">doPackingTest</a>, <a href="../CommonPackingTests.html#doPackingTestWithPartialResource(org.apache.heron.api.generated.TopologyAPI.Topology,java.util.Optional,java.util.Optional,int,java.util.Optional,java.util.Optional,int,int,org.apache.heron.spi.packing.Resource,org.apache.heron.spi.packing.Resource)">doPackingTestWithPartialResource</a>, <a href="../CommonPackingTests.html#doScaleDownTest(org.apache.heron.common.basics.Pair%5B%5D,java.util.Map,org.apache.heron.common.basics.Pair%5B%5D)">doScaleDownTest</a>, <a href="../CommonPackingTests.html#doScalingTest(org.apache.heron.api.generated.TopologyAPI.Topology,org.apache.heron.spi.packing.PackingPlan,java.util.Map,org.apache.heron.spi.packing.Resource,int,org.apache.heron.spi.packing.Resource,int,int,org.apache.heron.spi.packing.Resource)">doScalingTest</a>, <a href="../CommonPackingTests.html#doScalingTestWithPartialResource(org.apache.heron.api.generated.TopologyAPI.Topology,org.apache.heron.spi.packing.PackingPlan,java.util.Map,java.util.Optional,java.util.Optional,int,java.util.Optional,java.util.Optional,int,int,org.apache.heron.spi.packing.Resource,org.apache.heron.spi.packing.Resource)">doScalingTestWithPartialResource</a>, <a href="../CommonPackingTests.html#getDefaultMaxContainerResource()">getDefaultMaxContainerResource</a>, <a href="../CommonPackingTests.html#getDefaultMaxContainerResource(int)">getDefaultMaxContainerResource</a>, <a href="../CommonPackingTests.html#getDefaultUnspecifiedContainerResource(int,int,org.apache.heron.spi.packing.Resource)">getDefaultUnspecifiedContainerResource</a>, <a href="../CommonPackingTests.html#getTopology(int,int,org.apache.heron.api.Config)">getTopology</a>, <a href="../CommonPackingTests.html#pack(org.apache.heron.api.generated.TopologyAPI.Topology)">pack</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="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>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RoundRobinPackingTest</h4>
<pre>public&nbsp;RoundRobinPackingTest()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getPackingImpl()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackingImpl</h4>
<pre class="methodSignature">protected&nbsp;<a href="../../spi/packing/IPacking.html" title="interface in org.apache.heron.spi.packing">IPacking</a>&nbsp;getPackingImpl()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../CommonPackingTests.html#getPackingImpl()">getPackingImpl</a></code>&nbsp;in class&nbsp;<code><a href="../CommonPackingTests.html" title="class in org.apache.heron.packing">CommonPackingTests</a></code></dd>
</dl>
</li>
</ul>
<a id="getRepackingImpl()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRepackingImpl</h4>
<pre class="methodSignature">protected&nbsp;<a href="../../spi/packing/IRepacking.html" title="interface in org.apache.heron.spi.packing">IRepacking</a>&nbsp;getRepackingImpl()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../CommonPackingTests.html#getRepackingImpl()">getRepackingImpl</a></code>&nbsp;in class&nbsp;<code><a href="../CommonPackingTests.html" title="class in org.apache.heron.packing">CommonPackingTests</a></code></dd>
</dl>
</li>
</ul>
<a id="setUp()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setUp()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../CommonPackingTests.html#setUp()">setUp</a></code>&nbsp;in class&nbsp;<code><a href="../CommonPackingTests.html" title="class in org.apache.heron.packing">CommonPackingTests</a></code></dd>
</dl>
</li>
</ul>
<a id="testCheckInsufficientRamFailure()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCheckInsufficientRamFailure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCheckInsufficientRamFailure()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCheckInsufficientCpuFailure()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCheckInsufficientCpuFailure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCheckInsufficientCpuFailure()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testDefaultResources()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testDefaultResources</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testDefaultResources()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testContainerRequestedResources()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testContainerRequestedResources</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testContainerRequestedResources()
throws java.lang.Exception</pre>
<div class="block">Test the scenario container level resource config are set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testContainerRequestedResourcesWhenRamPaddingSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testContainerRequestedResourcesWhenRamPaddingSet</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testContainerRequestedResourcesWhenRamPaddingSet()
throws java.lang.Exception</pre>
<div class="block">Test the scenario container level resource config are set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteRamMapRequestedWithExactlyEnoughResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteRamMapRequestedWithExactlyEnoughResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteRamMapRequestedWithExactlyEnoughResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario RAM map config is completely set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteRamMapRequestedWithLessThanEnoughResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteRamMapRequestedWithLessThanEnoughResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteRamMapRequestedWithLessThanEnoughResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario RAM map config is completely set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteRamMapRequestedWithMoreThanEnoughResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteRamMapRequestedWithMoreThanEnoughResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteRamMapRequestedWithMoreThanEnoughResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario RAM map config is completely set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteRamMapRequestedWithoutPaddingResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteRamMapRequestedWithoutPaddingResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteRamMapRequestedWithoutPaddingResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario RAM map config is completely set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteCpuMapRequestedWithExactlyEnoughResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteCpuMapRequestedWithExactlyEnoughResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteCpuMapRequestedWithExactlyEnoughResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario CPU map config is completely set and there are exactly enough resource</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteCpuMapRequestedWithMoreThanEnoughResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteCpuMapRequestedWithMoreThanEnoughResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteCpuMapRequestedWithMoreThanEnoughResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario CPU map config is completely set and there are more than enough resource</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteCpuMapRequestedWithLessThanEnoughResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteCpuMapRequestedWithLessThanEnoughResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteCpuMapRequestedWithLessThanEnoughResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario CPU map config is completely set and there are less than enough resource</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testCompleteCpuMapRequestedWithoutPaddingResource()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCompleteCpuMapRequestedWithoutPaddingResource</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testCompleteCpuMapRequestedWithoutPaddingResource()
throws java.lang.Exception</pre>
<div class="block">Test the scenario CPU map config is completely set
and there are exactly enough resource for instances, but not enough for padding</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testFullRamMapWithoutContainerRequestedResources()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testFullRamMapWithoutContainerRequestedResources</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testFullRamMapWithoutContainerRequestedResources()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testNoRamMapWithoutContainerRequestedResources()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testNoRamMapWithoutContainerRequestedResources</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testNoRamMapWithoutContainerRequestedResources()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testPartialRamMapWithoutContainerRequestedResources()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testPartialRamMapWithoutContainerRequestedResources</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testPartialRamMapWithoutContainerRequestedResources()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testHugePartialRamMapWithoutContainerRequestedResources()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testHugePartialRamMapWithoutContainerRequestedResources</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testHugePartialRamMapWithoutContainerRequestedResources()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testPartialRamMap()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testPartialRamMap</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testPartialRamMap()
throws java.lang.Exception</pre>
<div class="block">Test the scenario RAM map config is partially set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testPartialCpuMap()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testPartialCpuMap</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testPartialCpuMap()
throws java.lang.Exception</pre>
<div class="block">Test the scenario CPU map config is partially set</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testEvenPacking()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testEvenPacking</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testEvenPacking()
throws java.lang.Exception</pre>
<div class="block">test even packing of instances</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testRepackingWithSameTotalInstances()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testRepackingWithSameTotalInstances</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testRepackingWithSameTotalInstances()
throws java.lang.Exception</pre>
<div class="block">test re-packing with same total instances</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testRepackingWithMoreTotalInstances()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testRepackingWithMoreTotalInstances</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testRepackingWithMoreTotalInstances()
throws java.lang.Exception</pre>
<div class="block">test re-packing with more total instances</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testRepackingWithFewerTotalInstances()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testRepackingWithFewerTotalInstances</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testRepackingWithFewerTotalInstances()
throws java.lang.Exception</pre>
<div class="block">test re-packing with fewer total instances</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="testZeroContainersFailure()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>testZeroContainersFailure</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testZeroContainersFailure()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.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" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>