- All Known Subinterfaces:
Reloadable.ReloadBuilder<B>
public interface Reloadable
This mixin might be implemented by a component in order to provide reload
facilities.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceReloadable.ReloadBuilder<B extends Reloadable.ReloadBuilder<B>>The Interface ReloadBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidreload()Reloads the (state of the) component.default voidReloads the component by callingreload()without you to require catching aIOException.
-
Method Details
-
reload
Reloads the (state of the) component.- Throws:
IOException- in case reloading failed as of some reason.
-
reloadUnchecked
default void reloadUnchecked()Reloads the component by callingreload()without you to require catching aIOException.- Throws:
org.refcodes.exception.RuntimeIOException- encapsulates the aCause and is thrown upon encountering aIOExceptionexception
-