<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html"title="class or interface in java.lang"class="external-link">Runnable</a></code></dd>
</dl>
<dlclass="notes">
<dt>All Known Implementing Classes:</dt>
<dd><code><ahref="ExecutableService.html"title="class in io.github.simplex.api">ExecutableService</a></code>, <code><ahref="../impl/ServiceImpl.html"title="class in io.github.simplex.impl">ServiceImpl</a></code></dd>
extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html"title="class or interface in java.lang"class="external-link">Runnable</a></span></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab1"><code><ahref="#newNamespacedKey(java.lang.String,java.lang.String)"class="member-name-link">newNamespacedKey</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> space,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> key)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>reactor.core.publisher.Mono<<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Void.html"title="class or interface in java.lang"class="external-link">Void</a>></code></div>
<divclass="block">The actual start method for the service.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>reactor.core.publisher.Mono<<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Void.html"title="class or interface in java.lang"class="external-link">Void</a>></code></div>
<dd>How long the service should wait before executing the first time.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="start()">
<h3>start</h3>
<divclass="member-signature"><spanclass="return-type">reactor.core.publisher.Mono<<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Void.html"title="class or interface in java.lang"class="external-link">Void</a>></span> <spanclass="element-name">start</span>()</div>
<divclass="block">The actual start method for the service. This should be overridden by subclasses,
and should include all the required code necessary to execute when the service is queued.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>An encapsulated Mono object representing the start method for the service.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="stop()">
<h3>stop</h3>
<divclass="member-signature"><spanclass="return-type">reactor.core.publisher.Mono<<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Void.html"title="class or interface in java.lang"class="external-link">Void</a>></span> <spanclass="element-name">stop</span>()</div>
<divclass="block">The actual end method for the service. This should be overridden by subclasses,
and should include all the required code necessary to execute when the service is stopped.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>An encapsulated Mono object representing the end method for the service.</dd>
<dd>The plugin which was defined in the constructor.
This should be an instance of your main plugin class.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getParentPool()">
<h3>getParentPool</h3>
<divclass="member-signature"><spanclass="return-type">reactor.core.publisher.Mono<<ahref="../simplexss/ServicePool.html"title="class in io.github.simplex.simplexss">ServicePool</a>></span> <spanclass="element-name">getParentPool</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>The <ahref="../simplexss/ServicePool.html"title="class in io.github.simplex.simplexss"><code>ServicePool</code></a> which this service is executing on.</dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html#run()"title="class or interface in java.lang"class="external-link">run</a></code> in interface <code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Runnable.html"title="class or interface in java.lang"class="external-link">Runnable</a></code></dd>
</span><spanclass="modifiers">static</span> <spanclass="return-type">@NotNull org.bukkit.NamespacedKey</span> <spanclass="element-name">newNamespacedKey</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> space,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> key)</span></div>
<divclass="block">This is an easy static call for creating a new namespaced key for services and service pools.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>space</code> - The namespace of the service.</dd>
<dd><code>key</code> - The key name of the service.</dd>
<dt>Returns:</dt>
<dd>A NamespacedKey object representing the service.</dd>