14 lines
394 B
Java
14 lines
394 B
Java
package org.warp.commonutils.concurrency.atomicity;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* This element can be considered atomic
|
|
*/
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
|
|
public @interface Atomic {}
|