- 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
Modifier and TypeInterfaceDescriptionstatic interface
Reloadable.ReloadBuilder<B extends Reloadable.ReloadBuilder<B>>
The Interface ReloadBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoid
reload()
Reloads the (state of the) component.default void
Reloads 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.IORuntimeException
- encapsulates the cause and is thrown upon encountering aIOException
exception
-