<li><ahref="../../../../../com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html"title="class in com.comphenix.protocol.reflect.compiler"><spanclass="strong">Next Class</span></a></li>
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/error/ReportType.html"title="class in com.comphenix.protocol.error">ReportType</a></code></td>
<tdclass="colFirst"><code>static <ahref="../../../../../com/comphenix/protocol/error/ReportType.html"title="class in com.comphenix.protocol.error">ReportType</a></code></td>
<ahref="../../../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a> reporter)</code>
<ahref="../../../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a> reporter,
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html#addListener(com.comphenix.protocol.reflect.StructureModifier, com.comphenix.protocol.reflect.compiler.CompileListener)">addListener</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">Add a compile listener if we are still waiting for the structure modifier to be compiled.</div>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/reflect/compiler/StructureCompiler.html"title="class in com.comphenix.protocol.reflect.compiler">StructureCompiler</a></code></td>
<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>
<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>
<divclass="block">The default format for the name of new worker threads.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../../constant-values.html#com.comphenix.protocol.reflect.compiler.BackgroundCompiler.THREAD_FORMAT">Constant Field Values</a></dd></dl>
<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">The default fraction of perm gen space after which the background compiler will be disabled.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../../../constant-values.html#com.comphenix.protocol.reflect.compiler.BackgroundCompiler.DEFAULT_DISABLE_AT_PERM_GEN">Constant Field Values</a></dd></dl>
<ahref="../../../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a> reporter)</pre>
<divclass="block">Initialize a background compiler.
<p>
Uses the default <ahref="../../../../../com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html#THREAD_FORMAT"><code>THREAD_FORMAT</code></a> to name worker threads.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>loader</code> - - class loader from Bukkit.</dd><dd><code>reporter</code> - - current error reporter.</dd></dl>
<ahref="../../../../../com/comphenix/protocol/error/ErrorReporter.html"title="interface in com.comphenix.protocol.error">ErrorReporter</a> reporter,
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>loader</code> - - class loader from Bukkit.</dd><dd><code>reporter</code> - - current error reporter.</dd><dd><code>executor</code> - - thread pool we'll use.</dd></dl>
<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>
<pre>public <TKey> void addListener(<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">Add a compile listener if we are still waiting for the structure modifier to be compiled.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>uncompiled</code> - - the structure modifier that may get compiled.</dd><dd><code>listener</code> - - the listener to invoke in that case.</dd></dl>
<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>
<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>