mirror of
https://github.com/apache/jclouds.git
synced 2025-02-11 04:26:39 +00:00
Images were cached in memory using a memoized supplier. To allow growing this cache with the discovered images, the ImageCacheSupplier class has been created. It provides an in-memory cache with all discovered images and acts as a view over the image cache that also provides access to them. The in-memory cache for the discovered images expires with the session, just as the image cache does. The default memoized image supplier has been changed to the ImageCacheSupplier, to make sure all providers get injected the right instance, and the old supplier has been qualified with the 'imageCache' name, in case a provider needs the basic image cache.
# # The jclouds API for Amazon's EC2 service (http://aws.amazon.com/ec2/). # # TODO: Implementation status. # TODO: Supported features. # TODO: Usage example. NOTE: The live tests in apis/ec2 will *not* work against AWS EC2 with AWS accounts created from December 04, 2013 and onward, due to those accounts only supporting VPC, and VPC requiring different parameters (ID rather than name) for referring to and acting on security groups. To run the EC2 live tests against AWS, go to providers/aws-ec2. apis/ec2 will retain the older security group name usage to support EC2 API shims, such as OpenStack, CloudStack, etc.