-
- 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 Classes Modifier and Type Interface Description static interface
Reloadable.ReloadBuilder<B extends Reloadable.ReloadBuilder<B>>
The Interface ReloadBuilder.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
reload()
Reloads the (state of the) component.default void
reloadUnchecked()
Reloads the component by callingreload()
without you to require catching aIOException
.
-
-
-
Method Detail
-
reload
void reload() throws IOException
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
-
-