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

cloud.tianai.rpc.springboot.annotation.RpcConsumer Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package cloud.tianai.rpc.springboot.annotation;


import cloud.tianai.rpc.core.client.proxy.RpcProxyType;

import java.lang.annotation.*;

/**
 * @author Administrator
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RpcConsumer {

    /** 该参数只针对于该rpc服务初始化指定的参数. */
    int requestTimeout() default 0;

    /** 支持 JDK_PROXY 和 JAVASSIST_PROXY. */
    String proxy() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy