
as.leap.vertx.rpc.RequestProp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-rpc Show documentation
Show all versions of vertx-rpc Show documentation
Wrap eventBus of vert.x 3 as transport layer for RPC invoking
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