Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addToExistingPool(ServicePool, IService...) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
B
- BukkitDisposable - Record Class in io.github.simplexdevelopment.scheduler
-
An abstraction of the
BukkitTask
class which allows this object to be used with Reactor. - BukkitDisposable(BukkitTask) - Constructor for record class io.github.simplexdevelopment.scheduler.BukkitDisposable
-
Creates an instance of a
BukkitDisposable
record class. - bukkitServicePool(String, JavaPlugin, IService...) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
C
- Context<S> - Interface in io.github.simplexdevelopment.api
-
A glorified wrapper class which collects an element and abstracts it behind the Reactor API.
- contextCollection() - Method in interface io.github.simplexdevelopment.api.Context
- createServicePool(String, IService...) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
- createWorker() - Method in class io.github.simplexdevelopment.scheduler.ReactorBukkitScheduler
-
A new
Scheduler.Worker
.
D
- dispose() - Method in record class io.github.simplexdevelopment.scheduler.BukkitDisposable
-
Disposes of the task upstream on the Bukkit scheduler.
- dispose() - Method in class io.github.simplexdevelopment.scheduler.ReactorBukkitScheduler
-
Deprecated.
E
- emptyBukkitServicePool(String, JavaPlugin) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
- emptyServicePool(String, boolean) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
- equals(Object) - Method in record class io.github.simplexdevelopment.scheduler.BukkitDisposable
-
Indicates whether some other object is "equal to" this one.
- ExecutableService - Class in io.github.simplexdevelopment.scheduler
-
An abstract service class meant for easy implementation and creation of services.
- ExecutableService(String) - Constructor for class io.github.simplexdevelopment.scheduler.ExecutableService
-
Creates a new instance of an executable service.
- ExecutableService(ServicePool, String) - Constructor for class io.github.simplexdevelopment.scheduler.ExecutableService
-
Creates a new instance of an executable service.
- ExecutableService(ServicePool, String, Long, Long, Boolean) - Constructor for class io.github.simplexdevelopment.scheduler.ExecutableService
-
Creates a new instance of an executable service.
- ExecutableService(ServicePool, String, Long) - Constructor for class io.github.simplexdevelopment.scheduler.ExecutableService
-
Creates a new instance of an executable service.
- ExecutableService(ServicePool, String, Long, Long, Boolean, Boolean) - Constructor for class io.github.simplexdevelopment.scheduler.ExecutableService
-
Creates a new instance of an executable service.
F
- fluxFromCollection() - Method in interface io.github.simplexdevelopment.api.Context
- forceStart(IService) - Method in interface io.github.simplexdevelopment.api.ISchedule
- forceStart(IService) - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
- forceStop(IService) - Method in interface io.github.simplexdevelopment.api.ISchedule
- forceStop(IService) - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
G
- getAssociatedServicePool(IService) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
- getAssociatedServices() - Method in class io.github.simplexdevelopment.scheduler.ServicePool
- getContext() - Method in interface io.github.simplexdevelopment.api.Context
- getDelay() - Method in interface io.github.simplexdevelopment.api.IService
- getDelay() - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
- getMainScheduler() - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
- getName() - Method in interface io.github.simplexdevelopment.api.Identifier
- getName() - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
- getName() - Method in class io.github.simplexdevelopment.scheduler.ServicePool
- getNumericalId() - Method in interface io.github.simplexdevelopment.api.Identifier
- getParentPool() - Method in interface io.github.simplexdevelopment.api.IService
- getParentPool() - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
- getPeriod() - Method in interface io.github.simplexdevelopment.api.IService
- getPeriod() - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
- getPlugin() - Method in interface io.github.simplexdevelopment.api.IService
- getPlugin() - Method in class io.github.simplexdevelopment.impl.ServiceImpl
- getProvidingPlugin() - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
- getScheduler() - Method in class io.github.simplexdevelopment.impl.Main
- getScheduler() - Method in class io.github.simplexdevelopment.scheduler.ServicePool
- getService(String) - Method in class io.github.simplexdevelopment.scheduler.ServicePool
-
Gets a service based on the name of the service defined by
Identifier.getName()
. - getServiceManager() - Method in interface io.github.simplexdevelopment.api.ISchedule
- getServiceManager() - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
- getServicePools() - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
- getUniqueId() - Method in interface io.github.simplexdevelopment.api.Identifier
H
- hashCode() - Method in record class io.github.simplexdevelopment.scheduler.BukkitDisposable
-
Returns a hash code value for this object.
I
- Identifier - Interface in io.github.simplexdevelopment.api
-
This interface provides a method for retrieving a name, unique identifier, and numerical id for a class.
- io.github.simplexdevelopment.api - package io.github.simplexdevelopment.api
- io.github.simplexdevelopment.impl - package io.github.simplexdevelopment.impl
- io.github.simplexdevelopment.scheduler - package io.github.simplexdevelopment.scheduler
- isCancelled() - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
-
Cancels the execution of this service.
- ISchedule - Interface in io.github.simplexdevelopment.api
-
This interface contains surface level methods for the
SchedulingSystem
to use. - isDisposed() - Method in record class io.github.simplexdevelopment.scheduler.BukkitDisposable
-
Checks if the task is cancelled.
- IService - Interface in io.github.simplexdevelopment.api
-
Represents a service that can be registered to a
ServicePool
. - isPeriodic() - Method in interface io.github.simplexdevelopment.api.IService
- isPeriodic() - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
L
- locateServiceWithinPools(IService) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
M
- Main - Class in io.github.simplexdevelopment.impl
- Main() - Constructor for class io.github.simplexdevelopment.impl.Main
- multithreadedServicePool(String, IService...) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
O
- onDisable() - Method in class io.github.simplexdevelopment.impl.Main
- onEnable() - Method in class io.github.simplexdevelopment.impl.Main
Q
- queue(IService) - Method in interface io.github.simplexdevelopment.api.ISchedule
-
Queues a service to be executed in a service pool.
- queue(IService) - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
- queueAll() - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
- queueService(IService) - Method in class io.github.simplexdevelopment.scheduler.ServicePool
-
This method is the actual method used to schedule a service.
- queueServices() - Method in class io.github.simplexdevelopment.scheduler.ServicePool
-
This method can be used to start all the services registered with this pool.
R
- ReactorBukkitScheduler - Class in io.github.simplexdevelopment.scheduler
-
An abstraction layer over the
BukkitScheduler
to allow for the use as aScheduler
. - ReactorBukkitScheduler(JavaPlugin) - Constructor for class io.github.simplexdevelopment.scheduler.ReactorBukkitScheduler
- recycle() - Method in class io.github.simplexdevelopment.scheduler.ServicePool
-
This will clear the ServicePool of all services and return an empty pool.
- registerServices(String) - Method in class io.github.simplexdevelopment.impl.Main
- run() - Method in interface io.github.simplexdevelopment.api.IService
- runOnce(IService) - Method in interface io.github.simplexdevelopment.api.ISchedule
- runOnce(IService) - Method in class io.github.simplexdevelopment.scheduler.SchedulingSystem
S
- schedule(Runnable) - Method in class io.github.simplexdevelopment.scheduler.ReactorBukkitScheduler
-
Delegates to the
BukkitScheduler
. - schedule(Runnable, long, TimeUnit) - Method in class io.github.simplexdevelopment.scheduler.ReactorBukkitScheduler
-
Delegates to the
BukkitScheduler
with a delay. - schedulePeriodically(Runnable, long, long, TimeUnit) - Method in class io.github.simplexdevelopment.scheduler.ReactorBukkitScheduler
-
Delegates to the
BukkitScheduler
with a delay and a period. - SchedulingSystem<T extends org.bukkit.plugin.java.JavaPlugin> - Class in io.github.simplexdevelopment.scheduler
-
This class is used to manage the scheduling of
IService
s, and the creation ofServicePool
s through theServiceManager
. - SchedulingSystem(T) - Constructor for class io.github.simplexdevelopment.scheduler.SchedulingSystem
-
Creates a new instance of the scheduling system.
- ServiceException - Exception in io.github.simplexdevelopment.api
-
This class is used to represent a service exception.
- ServiceException(IService) - Constructor for exception io.github.simplexdevelopment.api.ServiceException
-
Constructs a new service exception which states the service is not present within any service pools.
- ServiceException(Throwable) - Constructor for exception io.github.simplexdevelopment.api.ServiceException
- ServiceImpl - Class in io.github.simplexdevelopment.impl
- ServiceImpl(Main, ServicePool) - Constructor for class io.github.simplexdevelopment.impl.ServiceImpl
- ServiceManager - Class in io.github.simplexdevelopment.scheduler
-
The ServiceManager is a factory class for managing
ServicePool
s. - ServiceManager() - Constructor for class io.github.simplexdevelopment.scheduler.ServiceManager
-
Creates a new instance of the Service Manager class.
- ServicePool - Class in io.github.simplexdevelopment.scheduler
-
A service pool is a collection of services which are managed by a single scheduler.
- ServicePool(String, boolean) - Constructor for class io.github.simplexdevelopment.scheduler.ServicePool
-
This will create a new instance of a Service Pool with a
Scheduler
as its main scheduler. - ServicePool(String, JavaPlugin) - Constructor for class io.github.simplexdevelopment.scheduler.ServicePool
-
This will create a new instance of a Service Pool with the
ReactorBukkitScheduler
as its main scheduler. - ServicePoolException - Exception in io.github.simplexdevelopment.api
-
This class is used to represent a service pool exception.
- ServicePoolException() - Constructor for exception io.github.simplexdevelopment.api.ServicePoolException
-
Constructs a new generic service pool exception.
- ServicePoolException(String) - Constructor for exception io.github.simplexdevelopment.api.ServicePoolException
- ServicePoolException(Throwable) - Constructor for exception io.github.simplexdevelopment.api.ServicePoolException
- setCancelled(boolean) - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
-
Cancels the execution of this service.
- setContext(S) - Method in interface io.github.simplexdevelopment.api.Context
- setParentPool(ServicePool) - Method in interface io.github.simplexdevelopment.api.IService
-
Sets the parent pool for this service.
- setParentPool(ServicePool) - Method in class io.github.simplexdevelopment.scheduler.ExecutableService
- start() - Method in interface io.github.simplexdevelopment.api.IService
-
The actual start method for the service.
- start() - Method in class io.github.simplexdevelopment.impl.ServiceImpl
- stop() - Method in interface io.github.simplexdevelopment.api.IService
-
The actual end method for the service.
- stop() - Method in class io.github.simplexdevelopment.impl.ServiceImpl
- stopService(String, Mono<Disposable>) - Method in class io.github.simplexdevelopment.scheduler.ServicePool
-
This is the method used to stop a service.
- stopServices(Flux<Disposable>) - Method in class io.github.simplexdevelopment.scheduler.ServicePool
-
This method can be used to stop all the services registered with this pool.
- supplyException() - Static method in exception io.github.simplexdevelopment.api.ServicePoolException
- supplyException(IService) - Static method in exception io.github.simplexdevelopment.api.ServiceException
T
- takeFromExistingPool(ServicePool, IService...) - Method in class io.github.simplexdevelopment.scheduler.ServiceManager
- task() - Method in record class io.github.simplexdevelopment.scheduler.BukkitDisposable
-
Returns the value of the
task
record component. - toString() - Method in record class io.github.simplexdevelopment.scheduler.BukkitDisposable
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages|Serialized Form