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

as.leap.vertx.rpc.RequestProp Maven / Gradle / Ivy

There is a newer version: 3.3.8
Show newest version
package as.leap.vertx.rpc;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.concurrent.TimeUnit;

/**
 * Created by stream.
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestProp {
  //define timeout to the method
  int timeout() default 0;

  TimeUnit timeUnit() default TimeUnit.MILLISECONDS;

  //retry times for method
  int retry() default 0;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy