![JAR search and dependency download from the Maven repository](/logo.png)
org.multiverse.annotations.NonTransactional Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multiverse-core Show documentation
Show all versions of multiverse-core Show documentation
Contains the core interfaces/classes of the Multiverse project. So no STM implementations
package org.multiverse.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The NonTransactional annotation can be used for the following purposes:
*
* - Can be placed on a field of an {@link TransactionalObject} to exclude it from being managed by
* the STM. So this field is for the STM completely invisible; as if it doesn't exist.
* - Can be placed on a instance method of a {@link TransactionalObject} to exclude it from being
* transactional.
*
*
*
* @author Peter Veentjer
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
public @interface NonTransactional {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy