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.storm.thrift.transport.TTransport |
doConnectWithRetry(ITransportPlugin transportPlugin,
org.apache.storm.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.storm.thrift.transport.TTransport doConnectWithRetry(ITransportPlugin transportPlugin, org.apache.storm.thrift.transport.TTransport underlyingTransport, String host, String asUser) throws IOException
IOException
Copyright © 2023 The Apache Software Foundation. All rights reserved.