com.lingcreative.concurrent.InterruptionProtocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of concurrent-utils Show documentation
Show all versions of concurrent-utils Show documentation
Some utilities for concurrent java programming.
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