Class AsyncHandlerImpl
java.lang.Object
dev.jacrispys.JavaBot.api.libs.utils.async.AsyncHandlerImpl
- All Implemented Interfaces:
- AsyncHandler
- Direct Known Subclasses:
- SqlInstanceManager
Async method handler
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record
- 
Field SummaryFieldsModifier and TypeFieldDescription
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidRuns methods from themethodQueueand checks if they have been completed.voidContinuously completes void functions that have been queued intovoidMethodQueue
- 
Field Details- 
methodQueue
- 
voidMethodQueue
 
- 
- 
Constructor Details- 
AsyncHandlerImplpublic AsyncHandlerImpl()
 
- 
- 
Method Details- 
completeVoidpublic void completeVoid()Continuously completes void functions that have been queued intovoidMethodQueue- Specified by:
- completeVoidin interface- AsyncHandler
 
- 
completeMethodpublic void completeMethod()Runs methods from themethodQueueand checks if they have been completed.- Specified by:
- completeMethodin interface- AsyncHandler
 
 
-