com.alibaba.dubbo.rpc.protocol.thrift
Class ThriftInvoker<T>
java.lang.Object
com.alibaba.dubbo.rpc.protocol.AbstractInvoker<T>
com.alibaba.dubbo.rpc.protocol.thrift.ThriftInvoker<T>
- All Implemented Interfaces:
- Node, Invoker<T>
public class ThriftInvoker<T>
- extends AbstractInvoker<T>
- Author:
- gang.lvg
ThriftInvoker
public ThriftInvoker(Class<T> service,
URL url,
ExchangeClient[] clients)
ThriftInvoker
public ThriftInvoker(Class<T> type,
URL url,
ExchangeClient[] clients,
Set<Invoker<?>> invokers)
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 Alibaba. All Rights Reserved.