Package org.apache.storm.security.auth
Class TBackoffConnect
java.lang.Object
org.apache.storm.security.auth.TBackoffConnect
-
Constructor Summary
ConstructorDescriptionTBackoffConnect
(int retryTimes, int retryInterval, int retryIntervalCeiling) TBackoffConnect
(int retryTimes, int retryInterval, int retryIntervalCeiling, boolean retryForever) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.storm.thrift.transport.TTransport
doConnectWithRetry
(ITransportPlugin transportPlugin, org.apache.storm.thrift.transport.TTransport underlyingTransport, String host, String asUser)
-
Constructor Details
-
TBackoffConnect
public TBackoffConnect(int retryTimes, int retryInterval, int retryIntervalCeiling, boolean retryForever) -
TBackoffConnect
public TBackoffConnect(int retryTimes, int retryInterval, int retryIntervalCeiling)
-
-
Method Details
-
doConnectWithRetry
public org.apache.storm.thrift.transport.TTransport doConnectWithRetry(ITransportPlugin transportPlugin, org.apache.storm.thrift.transport.TTransport underlyingTransport, String host, String asUser) throws IOException - Throws:
IOException
-