Package io.higson.runtime.reload
Class NopReloader
java.lang.Object
io.higson.runtime.reload.NopReloader
- All Implemented Interfaces:
Reloader
The no-op reloader implementation. No parameter will be reloaded.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhotswapParameter(int pid) Request to hotswap a parameter asynchronously.voidreloadParameter(int pid) Request to reload a parameter asynchronously.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.higson.runtime.reload.Reloader
isEligibleForHotswap, isEligibleForReload
-
Constructor Details
-
NopReloader
public NopReloader()
-
-
Method Details
-
reloadParameter
public void reloadParameter(int pid) Description copied from interface:ReloaderRequest to reload a parameter asynchronously.- Specified by:
reloadParameterin interfaceReloader- Parameters:
pid- parameter's identifier
-
hotswapParameter
public void hotswapParameter(int pid) Description copied from interface:ReloaderRequest to hotswap a parameter asynchronously.- Specified by:
hotswapParameterin interfaceReloader- Parameters:
pid- parameter's identifier
-