Class RegionScopedBlobStoreContext

  • All Implemented Interfaces:
    Closeable, AutoCloseable, BlobStoreContext, View

    public class RegionScopedBlobStoreContext
    extends BaseView
    implements BlobStoreContext
    Implementation of BlobStoreContext which allows you to employ multiple regions. Example.
     ctx = contextBuilder.buildView(RegionScopedBlobStoreContext.class);
    
     Set<String> regionIds = ctx.getConfiguredRegions();
    
     // isolated to a specific region
     BlobStore texasBlobStore = ctx.getBlobStore("US-TX");
     BlobStore virginiaBlobStore = ctx.getBlobStore("US-VA");