T - Thrift interface typepublic interface ThriftClientProxyFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
newProxy(java.net.InetSocketAddress socketAddress)
Creates a new proxy for the given socket address.
|
T |
newProxy(java.net.InetSocketAddress socketAddress,
java.time.Duration timeout)
Creates a new proxy for the given socket address, with a borrow timeout.
|
T newProxy(java.net.InetSocketAddress socketAddress) throws java.lang.Exception
socketAddress - the remote addressjava.lang.ExceptionT newProxy(java.net.InetSocketAddress socketAddress, java.time.Duration timeout) throws java.lang.Exception
socketAddress - the remote addresstimeout - the borrow timeoutjava.lang.Exception