org.jclouds.openstack.keystone.v2_0.handlers
Class RetryOnRenew
java.lang.Object
org.jclouds.openstack.keystone.v2_0.handlers.RetryOnRenew
- All Implemented Interfaces:
- org.jclouds.http.HttpRetryHandler
public class RetryOnRenew
- extends Object
- implements org.jclouds.http.HttpRetryHandler
This will parse and set an appropriate exception on the command object.
|
Field Summary |
protected org.jclouds.logging.Logger |
logger
|
| Fields inherited from interface org.jclouds.http.HttpRetryHandler |
ALWAYS_RETRY, NEVER_RETRY |
|
Constructor Summary |
protected |
RetryOnRenew(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,Access> authenticationResponseCache,
org.jclouds.http.handlers.BackoffLimitedRetryHandler backoffHandler)
|
|
Method Summary |
boolean |
shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.jclouds.logging.Logger logger
RetryOnRenew
@Inject
protected RetryOnRenew(com.google.common.cache.LoadingCache<org.jclouds.domain.Credentials,Access> authenticationResponseCache,
org.jclouds.http.handlers.BackoffLimitedRetryHandler backoffHandler)
shouldRetryRequest
public boolean shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
- Specified by:
shouldRetryRequest in interface org.jclouds.http.HttpRetryHandler
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.