public class TBackoffConnect extends Object
Constructor and Description |
---|
TBackoffConnect(int retryTimes,
int retryInterval,
int retryIntervalCeiling) |
TBackoffConnect(int retryTimes,
int retryInterval,
int retryIntervalCeiling,
boolean retryForever) |
Modifier and Type | Method and Description |
---|---|
org.apache.thrift.transport.TTransport |
doConnectWithRetry(ITransportPlugin transportPlugin,
org.apache.thrift.transport.TTransport underlyingTransport,
String host,
String asUser) |
public TBackoffConnect(int retryTimes, int retryInterval, int retryIntervalCeiling, boolean retryForever)
public TBackoffConnect(int retryTimes, int retryInterval, int retryIntervalCeiling)
public org.apache.thrift.transport.TTransport doConnectWithRetry(ITransportPlugin transportPlugin, org.apache.thrift.transport.TTransport underlyingTransport, String host, String asUser) throws IOException
IOException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.