All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lingcreative.concurrent.InterruptionProtocol Maven / Gradle / Ivy

The newest version!
package com.lingcreative.concurrent;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR })
public @interface InterruptionProtocol {

    /**
     * Whether or not the annotated function can be interrupted.
     */
    boolean interruptable() default true;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy