Annotation Type Actor


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    public @interface Actor
    An annotation for actors.
    Author:
    Fabrizio Giudici
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int initialPriority
      The initial priority for the threads that will execute the code of the annotated actor.
      boolean threadSafe  
    • Element Detail

      • threadSafe

        boolean threadSafe
        Returns:
        true if the actor is thread-safe
        Default:
        true
      • initialPriority

        int initialPriority
        The initial priority for the threads that will execute the code of the annotated actor.
        Returns:
        the initial priority of the actor
        Default:
        5