mirror of
https://github.com/apache/jclouds.git
synced 2025-02-06 10:09:35 +00:00
Stuart Hendren
5113be22d8
JCLOUDS-1293 Add custom IOException retry handler for AWS-EC2
As all methods use POST we can not use the method to determine if funciton is idempotent. We therefore set all as idempotent to nullify that check and add a custom IOException retry handler to determine if commands should be retried on IOException. The custom hander extends the BackoffLimitedRetryHandler, the current handler, so all other behaviour is not affected. This does not retry any POST methods unless it's ACTION starts with 'Describe'. These functions are idempotent, and therefore safe to retry. See JCLOUDS-1293
jclouds
Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.
For more information about using or contributing to jclouds, please visit our website at jclouds.apache.org.
License
Copyright (C) 2009-2013 The Apache Software Foundation
Licensed under the Apache License, Version 2.0
Languages
Java
99.4%
Shell
0.5%