Interface BusyAccessor.BusyProperty

  • All Superinterfaces:
    BusyAccessor, BusyAccessor.BusyMutator
    Enclosing interface:
    BusyAccessor

    public static interface BusyAccessor.BusyProperty
    extends BusyAccessor, BusyAccessor.BusyMutator
    Provides a busy property. Busy semantically means that a system doing things which should not be aborted, for example there are open sessions currently being used, open connections currently transferring data, requests currently waiting for replies and similar.
    • Method Detail

      • letBusy

        default boolean letBusy​(boolean isBusy)
        This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given boolean (setter) as of BusyAccessor.BusyMutator.setBusy(boolean) and returns the very same value (getter).
        Parameters:
        isBusy - The boolean to set (via BusyAccessor.BusyMutator.setBusy(boolean)).
        Returns:
        Returns the value passed for it to be used in conclusive processing steps.