类 RpcInvocation

    • 构造器概要

      构造器 
      构造器 说明
      RpcInvocation()  
      RpcInvocation​(Invocation invocation)  
      RpcInvocation​(Invocation invocation, Invoker<?> invoker)  
       method, [] arguments)  
       method, [] arguments, <,​> attachment)  
       methodName, <?>[] parameterTypes, [] arguments)  
       methodName, <?>[] parameterTypes, [] arguments, <,​> attachments)  
       methodName, <?>[] parameterTypes, [] arguments, <,​> attachments, Invoker<?> invoker)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void <,​> attachments)  
      void <,​> attachments)  
       key)  
      [] getArguments()
      get arguments.
       key)
      get attachment by key.
       key,  defaultValue)
      get attachment by key with default value.
      <,​> getAttachments()
      get attachments.
      <,​> getAttributes()  
      Invoker<?> getInvoker()
      get the invoker in current context.
      getMethodName()
      get method name.
      <?>[] getParameterTypes()
      get parameter types.
       key,  value)  
      void [] arguments)  
      void  key,  value)  
      void  key,  value)  
      void <,​> attachments)  
      void setInvoker​(Invoker<?> invoker)  
      void  methodName)  
      void <?>[] parameterTypes)  
      toString()  
      • 从类继承的方法 java.lang.

        , , , , , , ,
    • 构造器详细资料

      • RpcInvocation

        public RpcInvocation()
      • RpcInvocation

        public RpcInvocation​(Invocation invocation,
                             Invoker<?> invoker)
      • RpcInvocation

        public RpcInvocation​(Invocation invocation)
      • RpcInvocation

        public RpcInvocation​( method,
                             [] arguments)
      • RpcInvocation

        public RpcInvocation​( method,
                             [] arguments,
                             <,​> attachment)
      • RpcInvocation

        public RpcInvocation​( methodName,
                             <?>[] parameterTypes,
                             [] arguments)
      • RpcInvocation

        public RpcInvocation​( methodName,
                             <?>[] parameterTypes,
                             [] arguments,
                             <,​> attachments)
      • RpcInvocation

        public RpcInvocation​( methodName,
                             <?>[] parameterTypes,
                             [] arguments,
                             <,​> attachments,
                             Invoker<?> invoker)
    • 方法详细资料

      • setInvoker

        public void setInvoker​(Invoker<?> invoker)
      • getMethodName

        public  getMethodName()
        从接口复制的说明: Invocation
        get method name.
        指定者:
        getMethodName 在接口中 Invocation
        返回:
        method name.
      • setMethodName

        public void setMethodName​( methodName)
      • getParameterTypes

        public <?>[] getParameterTypes()
        从接口复制的说明: Invocation
        get parameter types.
        指定者:
        getParameterTypes 在接口中 Invocation
        返回:
        parameter types.
      • setParameterTypes

        public void setParameterTypes​(<?>[] parameterTypes)
      • getArguments

        public [] getArguments()
        从接口复制的说明: Invocation
        get arguments.
        指定者:
        getArguments 在接口中 Invocation
        返回:
        arguments.
      • setArguments

        public void setArguments​([] arguments)
      • getAttachments

        public <,​> getAttachments()
        从接口复制的说明: Invocation
        get attachments.
        指定者:
        getAttachments 在接口中 Invocation
        返回:
        attachments.
      • setAttachments

        public void setAttachments​(<,​> attachments)
      • setAttachment

        public void setAttachment​( key,
                                   value)
      • setAttachmentIfAbsent

        public void setAttachmentIfAbsent​( key,
                                           value)
      • addAttachments

        public void addAttachments​(<,​> attachments)
      • addAttachmentsIfAbsent

        public void addAttachmentsIfAbsent​(<,​> attachments)
      • getAttachment

        public  getAttachment​( key)
        从接口复制的说明: Invocation
        get attachment by key.
        指定者:
        getAttachment 在接口中 Invocation
        返回:
        attachment value.
      • getAttachment

        public  getAttachment​( key,
                                     defaultValue)
        从接口复制的说明: Invocation
        get attachment by key with default value.
        指定者:
        getAttachment 在接口中 Invocation
        返回:
        attachment value.
      • put

        public  put​( key,
                           value)
        指定者:
        put 在接口中 Invocation
      • get

        public  get​( key)
        指定者:
        get 在接口中 Invocation
      • toString

        public  toString()
        覆盖:
         在类中