public class AzureStorageClientErrorRetryHandler extends Object implements HttpRetryHandler
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
ALWAYS_RETRY, NEVER_RETRY
Constructor and Description |
---|
AzureStorageClientErrorRetryHandler(BackoffLimitedRetryHandler backoffHandler,
AzureStorageUtils utils) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRetryRequest(HttpCommand command,
HttpResponse response)
Return true if the command should be retried.
|
protected Logger logger
@Inject public AzureStorageClientErrorRetryHandler(BackoffLimitedRetryHandler backoffHandler, AzureStorageUtils utils)
public boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
HttpRetryHandler
shouldRetryRequest
in interface HttpRetryHandler
Copyright © 2009-2012 jclouds. All Rights Reserved.