<li><ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="class in com.comphenix.protocol.reflect.compiler"><spanclass="strong">Next Class</span></a></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">StructureCompiler</a></code></td>
<divclass="block">Retrieve the current structure compiler.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">BackgroundCompiler</a></code></td>
<divclass="block">Retrieve whether or not the background compiler is enabled.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html#scheduleCompilation(java.util.Map, java.lang.Class)">scheduleCompilation</a></strong>(java.util.Map<java.lang.Class,<ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a>> cache,
java.lang.Class key)</code>
<divclass="block">Ensure that the indirectly given structure modifier is eventually compiled.</div>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html#scheduleCompilation(com.comphenix.protocol.reflect.StructureModifier, com.comphenix.protocol.reflect.compiler.CompileListener)">scheduleCompilation</a></strong>(<ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><TKey> uncompiled,
<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html"title="interface in com.comphenix.protocol.reflect.compiler">CompileListener</a><TKey> listener)</code>
<divclass="block">Ensure that the given structure modifier is eventually compiled.</div>
<divclass="block">Sets whether or not the background compiler is enabled.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html#setInstance(com.comphenix.protocol.reflect.compiler.BackgroundCompiler)">setInstance</a></strong>(<ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">BackgroundCompiler</a> backgroundCompiler)</code>
<divclass="block">Sets the single background compiler we're using.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../../constant-values.html#com.comphenix.protocol.reflect.compiler.BackgroundCompiler.SHUTDOWN_DELAY_MS">Constant Field Values</a></dd></dl>
<divclass="block">Initialize a background compiler utilizing the given thread pool.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>loader</code> - - class loader from Bukkit.</dd><dd><code>executor</code> - - thread pool we'll use.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="getInstance()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getInstance</h4>
<pre>public static <ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">BackgroundCompiler</a> getInstance()</pre>
<divclass="block">Retrieves the current background compiler.</div>
<pre>public static void setInstance(<ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">BackgroundCompiler</a> backgroundCompiler)</pre>
<divclass="block">Sets the single background compiler we're using.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>backgroundCompiler</code> - - current background compiler, or NULL if the library is not loaded.</dd></dl>
<pre>public void scheduleCompilation(java.util.Map<java.lang.Class,<ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a>> cache,
java.lang.Class key)</pre>
<divclass="block">Ensure that the indirectly given structure modifier is eventually compiled.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>cache</code> - - store of structure modifiers.</dd><dd><code>key</code> - - key of the structure modifier to compile.</dd></dl>
<pre>public <TKey> void scheduleCompilation(<ahref="../../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><TKey> uncompiled,
<ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompileListener.html"title="interface in com.comphenix.protocol.reflect.compiler">CompileListener</a><TKey> listener)</pre>
<divclass="block">Ensure that the given structure modifier is eventually compiled.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>uncompiled</code> - - structure modifier to compile.</dd><dd><code>listener</code> - - listener responsible for responding to the compilation.</dd></dl>
</li>
</ul>
<aname="shutdownAll()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>shutdownAll</h4>
<pre>public void shutdownAll()</pre>
<divclass="block">Clean up after ourselves using the default timeout.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>timeout</code> - - the maximum time to wait.</dd><dd><code>unit</code> - - the time unit of the timeout argument.</dd></dl>
</li>
</ul>
<aname="isEnabled()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isEnabled</h4>
<pre>public boolean isEnabled()</pre>
<divclass="block">Retrieve whether or not the background compiler is enabled.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>TRUE if it is enabled, FALSE otherwise.</dd></dl>
<divclass="block">Sets whether or not the background compiler is enabled.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>enabled</code> - - TRUE to enable it, FALSE otherwise.</dd></dl>
</li>
</ul>
<aname="getCompiler()">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>getCompiler</h4>
<pre>public <ahref="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">StructureCompiler</a> getCompiler()</pre>
<divclass="block">Retrieve the current structure compiler.</div>
<li><ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="class in com.comphenix.protocol.reflect.compiler"><spanclass="strong">Next Class</span></a></li>