com.lingcreative.concurrent.ThreadTaking 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.*;
/**
* A mark for a method (including {@code constructor} which will take over the execution time of the owner thread.
*/
@Documented
@Retention(RetentionPolicy.SOURCE)
@Target({ ElementType.METHOD, ElementType.CONSTRUCTOR })
public @interface ThreadTaking {
/**
* Note for the annotated element. Alias for {@link #note()}
*/
String value() default "";
/**
* Note for the annotated element.
*/
String note() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy