<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<dd><code><ahref="../api/ISchedule.html"title="interface in io.github.simplex.api">ISchedule</a></code></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="modifiers">public final class </span><spanclass="element-name type-name-label">SchedulingSystem<T extends org.bukkit.plugin.java.JavaPlugin></span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a>
implements <ahref="../api/ISchedule.html"title="interface in io.github.simplex.api">ISchedule</a></span></div>
</section>
<sectionclass="summary">
<ulclass="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<sectionclass="field-summary"id="field-summary">
<h2>Field Summary</h2>
<divclass="caption"><span>Fields</span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>private final <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="ServicePool.html"title="class in io.github.simplex.simplexss">ServicePool</a>></code></div>
<divclass="col-first odd-row-color"><code>private final <ahref="ServiceManager.html"title="class in io.github.simplex.simplexss">ServiceManager</a></code></div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(io.github.simplex.simplexss.ServiceManager,T)"class="member-name-link">SchedulingSystem</a><wbr>(@NotNull <ahref="ServiceManager.html"title="class in io.github.simplex.simplexss">ServiceManager</a> serviceManager,
<ahref="SchedulingSystem.html"title="type parameter in SchedulingSystem">T</a> plugin)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#forceStart(io.github.simplex.api.IService)"class="member-name-link">forceStart</a><wbr>(<ahref="../api/IService.html"title="interface in io.github.simplex.api">IService</a> service)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#forceStop(io.github.simplex.api.IService)"class="member-name-link">forceStop</a><wbr>(<ahref="../api/IService.html"title="interface in io.github.simplex.api">IService</a> service)</code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="ServicePool.html"title="class in io.github.simplex.simplexss">ServicePool</a>></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>@NotNull 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="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#runOnce(io.github.simplex.api.IService)"class="member-name-link">runOnce</a><wbr>(<ahref="../api/IService.html"title="interface in io.github.simplex.api">IService</a> service)</code></div>
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<sectionclass="field-details"id="field-detail">
<h2>Field Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="serviceManager">
<h3>serviceManager</h3>
<divclass="member-signature"><spanclass="modifiers">private final</span> <spanclass="return-type"><ahref="ServiceManager.html"title="class in io.github.simplex.simplexss">ServiceManager</a></span> <spanclass="element-name">serviceManager</span></div>
</section>
</li>
<li>
<sectionclass="detail"id="plugin">
<h3>plugin</h3>
<divclass="member-signature"><spanclass="modifiers">private final</span> <spanclass="return-type"><ahref="SchedulingSystem.html"title="type parameter in SchedulingSystem">T</a> extends org.bukkit.plugin.java.JavaPlugin</span> <spanclass="element-name">plugin</span></div>
</section>
</li>
<li>
<sectionclass="detail"id="repeatingPools">
<h3>repeatingPools</h3>
<divclass="member-signature"><spanclass="modifiers">private final</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="ServicePool.html"title="class in io.github.simplex.simplexss">ServicePool</a>></span> <spanclass="element-name">repeatingPools</span></div>
</span><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="ServicePool.html"title="class in io.github.simplex.simplexss">ServicePool</a>></span> <spanclass="element-name">getRepeatingPools</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>A set of <ahref="ServicePool.html"title="class in io.github.simplex.simplexss"><code>ServicePool</code></a>s which contain repeating services.</dd>
</span><spanclass="modifiers">public</span> <spanclass="return-type">@NotNull reactor.core.publisher.Mono<<ahref="ServiceManager.html"title="class in io.github.simplex.simplexss">ServiceManager</a>></span> <spanclass="element-name">getServiceManager</span>()</div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../api/ISchedule.html#getServiceManager()">getServiceManager</a></code> in interface <code><ahref="../api/ISchedule.html"title="interface in io.github.simplex.api">ISchedule</a></code></dd>
<dt>Returns:</dt>
<dd>The service manager which exerts control over the service pools and their associated services.</dd>
</span><spanclass="modifiers">public</span> <spanclass="return-type">@NotNull reactor.core.publisher.Mono<<ahref="ServicePool.html"title="class in io.github.simplex.simplexss">ServicePool</a>></span> <spanclass="element-name">queue</span><wbr><spanclass="parameters">(@NotNull
@NotNull <ahref="../api/IService.html"title="interface in io.github.simplex.api">IService</a> service)</span></div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../api/ISchedule.html#queue(io.github.simplex.api.IService)">queue</a></code> in interface <code><ahref="../api/ISchedule.html"title="interface in io.github.simplex.api">ISchedule</a></code></dd>
<dt>Parameters:</dt>
<dd><code>service</code> - The service to use to locate the associated service pool and queue the service for execution.</dd>
<dt>Returns:</dt>
<dd>A Mono<ServicePool> that can be used to prepare the service for execution within it's associated service pool.
If the service has no associated pool, a new pool will be created.</dd>
</span><spanclass="modifiers">public</span> <spanclass="return-type">@NotNull 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">runOnce</span><wbr><spanclass="parameters">(<ahref="../api/IService.html"title="interface in io.github.simplex.api">IService</a> service)</span></div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../api/ISchedule.html#runOnce(io.github.simplex.api.IService)">runOnce</a></code> in interface <code><ahref="../api/ISchedule.html"title="interface in io.github.simplex.api">ISchedule</a></code></dd>
<dt>Parameters:</dt>
<dd><code>service</code> - The service to run once.</dd>
<dt>Returns:</dt>
<dd>A Mono<Void> object which can be used to run the service one time using <code>Mono.subscribe()</code>.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <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">forceStop</span><wbr><spanclass="parameters">(<ahref="../api/IService.html"title="interface in io.github.simplex.api">IService</a> service)</span></div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../api/ISchedule.html#forceStop(io.github.simplex.api.IService)">forceStop</a></code> in interface <code><ahref="../api/ISchedule.html"title="interface in io.github.simplex.api">ISchedule</a></code></dd>
<dt>Parameters:</dt>
<dd><code>service</code> - The service to forcefully stop.</dd>
<dt>Returns:</dt>
<dd>A Mono<Void> object which can be used to forcefully stop the service with <code>Mono.subscribe()</code>.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <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">forceStart</span><wbr><spanclass="parameters">(<ahref="../api/IService.html"title="interface in io.github.simplex.api">IService</a> service)</span></div>
<dlclass="notes">
<dt>Specified by:</dt>
<dd><code><ahref="../api/ISchedule.html#forceStart(io.github.simplex.api.IService)">forceStart</a></code> in interface <code><ahref="../api/ISchedule.html"title="interface in io.github.simplex.api">ISchedule</a></code></dd>
<dt>Parameters:</dt>
<dd><code>service</code> - The service to forcefully start.</dd>
<dt>Returns:</dt>
<dd>A Mono<Void> object which can be used to forcefully start the service with <code>Mono.subscribe()</code>.</dd>
</span><spanclass="modifiers">public</span> <spanclass="return-type">@NotNull reactor.core.publisher.Mono<<ahref="SchedulingSystem.html"title="type parameter in SchedulingSystem">T</a>></span> <spanclass="element-name">getProvidingPlugin</span>()</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>A Mono object containing your plugin, for non-blocking communication.</dd>