Package io.higson.runtime.reload
Class AsyncReloader
java.lang.Object
io.higson.runtime.reload.AsyncReloader
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncReloader(Initializer initializer, int poolSize, HigsonEngine engine, DevModeProvider devModeProvider, String devModeUser) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longvoidshutDown()voidsubmitForHotswap(int pid) Adds the param-hotswap task to the queue handled by the internal thread pool.voidsubmitForReload(String uid) Adds the param-reload task to the queue handled by the internal thread pool.toString()
-
Constructor Details
-
AsyncReloader
public AsyncReloader(Initializer initializer, int poolSize, HigsonEngine engine, DevModeProvider devModeProvider, String devModeUser)
-
-
Method Details
-
submitForReload
Adds the param-reload task to the queue handled by the internal thread pool. The task is the parameter's universal identifier or UID. The UID contains parameter's code and optionally the version number. -
submitForHotswap
public void submitForHotswap(int pid) Adds the param-hotswap task to the queue handled by the internal thread pool. -
getCompletedTaskCount
public long getCompletedTaskCount() -
close
public void close() -
shutDown
public void shutDown() -
toString
-