mirror of https://github.com/apache/jclouds.git
7cde28a4d2
* dynamically call TypeToken.isSupertypeOf with Guava 19 and later and TypeToken.isAssignableFrom with Guava 18 and earlier * consume or ignore values from methods with CheckReturnValue * replace usage of removed Iterators.emptyIterator |
||
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml |
README.md
Rackspace Cloud Files
The new Rackspace Cloud Files multi-region based service API.
This new "rackspace-cloudfiles" API supercedes the jclouds "cloudfiles" API, which will eventually be deprecated.
With this multi-region support, each BlobStore can be isolated to a specific region:
RegionScopedBlobStoreContext ctx =
contextBuilder.buildView(RegionScopedBlobStoreContext.class);
Set<String> regionIds = ctx.configuredRegions();
// isolated to a specific region
BlobStore dfwBlobStore = ctx.blobStoreInRegion("DFW");
BlobStore iadBlobStore = ctx.blobStoreInRegion("IAD");
Production ready? Beta
This API is new to jclouds and hence is in Beta. That means we need people to use it and give us feedback. Based on that feedback, minor changes to the interfaces may happen. This code will replace org.jclouds.openstack.swift.SwiftClient in jclouds 2.0 and it is recommended you adopt it sooner than later.