Annotation Type ContinuableAnnotation


  • @Documented
    @Retention(CLASS)
    @Target(ANNOTATION_TYPE)
    public @interface ContinuableAnnotation
    Meta-annotation that is used to annotate other continuation-related annotations. It provides an option to declare and use own annotations instead of supplied continuable and ccs annotations, for ex:
     
     import java.lang.annotation.Documented;
     import java.lang.annotation.ElementType;
     import java.lang.annotation.Retention;
     import java.lang.annotation.RetentionPolicy;
     import java.lang.annotation.Target;
     
     @Documented
     @Retention(RetentionPolicy.CLASS)
     @Target({ElementType.METHOD})
     @ContinuableAnnotation
     public @interface ContinuableMethod {
       // The annotation to mark continuable methods
     }
     
     
     
    Author:
    Valery Silaev