Interface BusyAccessor.BusyMutator

All Known Subinterfaces:
BusyAccessor.BusyProperty
Enclosing interface:
BusyAccessor

public static interface BusyAccessor.BusyMutator
Provides a mutator for 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 Summary

    Modifier and Type
    Method
    Description
    default void
    Sets the busy status to true.
    void
    setBusy(boolean isBusy)
    Sets the busy status for the busy property.
    default void
    Sets the busy status to false.
  • Method Details

    • setBusy

      void setBusy(boolean isBusy)
      Sets the busy status for the busy property.
      Parameters:
      isBusy - The busy status to be stored by the busy property.
    • busy

      default void busy()
      Sets the busy status to true.
    • unbusy

      default void unbusy()
      Sets the busy status to false.