Interface SuspendedAccessor

All Known Subinterfaces:
SuspendedAccessor.SuspendedProperty

public interface SuspendedAccessor
Provides an accessor for a suspend property. If the Suspendable.suspend() method of the interface Suspendable has not been called, then false is returned, else true is returned. The return state has to be implemented by the programmer using this interface.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Provides a mutator for a suspend property.
    static interface 
    Provides a mutator for a suspend property.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the suspended status for the suspended property.
  • Method Details

    • isSuspended

      boolean isSuspended()
      Returns the suspended status for the suspended property.
      Returns:
      The suspended status to be stored by the suspended property.