org.dataloader.annotations.GuardedBy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-dataloader Show documentation
Show all versions of java-dataloader Show documentation
A pure Java 8 port of Facebook Dataloader
package org.dataloader.annotations;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.CLASS;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Indicates that the annotated element should be used only while holding the specified lock.
*/
@Target({FIELD, METHOD})
@Retention(CLASS)
public @interface GuardedBy {
/**
* @return The lock that should be held.
*/
String value();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy