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

org.distributeme.annotation.ConcurrencyControl Maven / Gradle / Ivy

package org.distributeme.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.distributeme.core.concurrencycontrol.ConcurrencyControlStrategy;

@Retention (RetentionPolicy.SOURCE)
@Target({ElementType.TYPE,ElementType.METHOD})
@Documented
public @interface ConcurrencyControl {
	/**
	 * Class that implements ConcurrencyControlStategy and should be used at runtime.
	 * @return
	 */
	Class strategyClass();
	/**
	 * Custom parameter which is used for proper router initialization/customization. Default value is empty string.
	 * @return
	 */
	String strategyParameter() default  "";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy