mirror of
https://github.com/apache/jclouds.git
synced 2025-02-11 12:36:13 +00:00
53146fb7bb
This patch moves the Invokable Parameter cache to Reflection2 and adds a convenience method for it to allow it to be shared by multiple callers. The subsequent ability of S3Utils to use this cache results in a ~40% improvement in performance for generating signed GETs and PUTs for S3. This commit also converts a few others calls to Invokable.getParameters() but the observed benefit from those was small in microbenchmarks.
# # The jclouds API for Amazon's S3 (http://aws.amazon.com/s3/). # # TODO: Implementation status. # TODO: Supported features. # TODO: Usage example.