com.alibaba.dubbo.rpc.protocol.thrift
Class ThriftInvoker<T>

java.lang.Object
  extended by com.alibaba.dubbo.rpc.protocol.AbstractInvoker<T>
      extended by com.alibaba.dubbo.rpc.protocol.thrift.ThriftInvoker<T>
All Implemented Interfaces:
Node, Invoker<T>

public class ThriftInvoker<T>
extends AbstractInvoker<T>

Author:
gang.lvg

Constructor Summary
ThriftInvoker(Class<T> service, URL url, ExchangeClient[] clients)
           
ThriftInvoker(Class<T> type, URL url, ExchangeClient[] clients, Set<Invoker<?>> invokers)
           
 
Method Summary
 void destroy()
          destroy.
 boolean isAvailable()
          is available.
 
Methods inherited from class com.alibaba.dubbo.rpc.protocol.AbstractInvoker
getInterface, getUrl, invoke, isDestroyed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThriftInvoker

public ThriftInvoker(Class<T> service,
                     URL url,
                     ExchangeClient[] clients)

ThriftInvoker

public ThriftInvoker(Class<T> type,
                     URL url,
                     ExchangeClient[] clients,
                     Set<Invoker<?>> invokers)
Method Detail

isAvailable

public boolean isAvailable()
Description copied from interface: Node
is available.

Specified by:
isAvailable in interface Node
Overrides:
isAvailable in class AbstractInvoker<T>
Returns:
available.

destroy

public void destroy()
Description copied from interface: Node
destroy.

Specified by:
destroy in interface Node
Overrides:
destroy in class AbstractInvoker<T>


Copyright © 2012–2017 Alibaba. All rights reserved.