Interface Task


public sealed interface Task
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @NotNull ExecutionType
     
    int
    id()
     
    boolean
     
    boolean
     
    @NotNull Scheduler
     
    void
    Unpark the tasks to be executed during next processing.
  • Method Details

    • id

      int id()
    • executionType

      @NotNull @NotNull ExecutionType executionType()
    • owner

      @NotNull @NotNull Scheduler owner()
    • unpark

      void unpark()
      Unpark the tasks to be executed during next processing.
    • isParked

      boolean isParked()
    • cancel

      void cancel()
    • isAlive

      boolean isAlive()