|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.aws.Ec2ClientFactoryImpl
public class Ec2ClientFactoryImpl
| Constructor Summary | |
|---|---|
Ec2ClientFactoryImpl()
|
|
Ec2ClientFactoryImpl(String endpoint)
|
|
| Method Summary | |
|---|---|
com.amazonaws.services.ec2.AmazonEC2Async |
newAmazonEc2Async(AwsSupportConstants.Region region,
com.amazonaws.auth.AWSCredentials awsCredentials,
ScheduledExecutorService scheduledExecutorService)
|
com.amazonaws.services.ec2.AmazonEC2AsyncClient |
newAwsAsyncClient(AwsSupportConstants.Region region,
com.amazonaws.auth.AWSCredentials awsCredentials,
ScheduledExecutorService scheduledExecutorService)
|
void |
setMaxRetries(int maxRetries)
Sets maximum retries before the connection is considered dead. |
void |
setTransmissionTimeout(int transmissionTimeoutSeconds)
Sets the timeout used for connection to host and transmission of data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ec2ClientFactoryImpl(@Nullable
String endpoint)
public Ec2ClientFactoryImpl()
| Method Detail |
|---|
@NotNull
public com.amazonaws.services.ec2.AmazonEC2Async newAmazonEc2Async(@NotNull
AwsSupportConstants.Region region,
@NotNull
com.amazonaws.auth.AWSCredentials awsCredentials,
@NotNull
ScheduledExecutorService scheduledExecutorService)
@NotNull
public com.amazonaws.services.ec2.AmazonEC2AsyncClient newAwsAsyncClient(@NotNull
AwsSupportConstants.Region region,
@NotNull
com.amazonaws.auth.AWSCredentials awsCredentials,
@NotNull
ScheduledExecutorService scheduledExecutorService)
public void setTransmissionTimeout(int transmissionTimeoutSeconds)
transmissionTimeoutSeconds - timeout in secondspublic void setMaxRetries(int maxRetries)
maxRetries - the amount of retries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||