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

org.multiverse.annotations.NonTransactional Maven / Gradle / Ivy

Go to download

Contains the core interfaces/classes of the Multiverse project. So no STM implementations

There is a newer version: 0.7.0
Show newest version
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:
 * 
    *
  1. 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.
  2. *
  3. Can be placed on a instance method of a {@link TransactionalObject} to exclude it from being * transactional. *
  4. *
* * @author Peter Veentjer */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.METHOD}) public @interface NonTransactional { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy