org.jclouds.openstack.swift.v1.features
Interface BulkApi


@Beta
public interface BulkApi

Provides access to the OpenStack Object Storage (Swift) Bulk API features.

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.


Nested Class Summary
static class BulkApi.UrlEncodeAndJoinOnNewline
           
 
Method Summary
 BulkDeleteResponse bulkDelete(Iterable<String> paths)
          Deletes multiple objects or containers, if present.
 ExtractArchiveResponse extractArchive(String path, org.jclouds.io.Payload payload, String format)
          Extracts a tar archive at the path specified as path.
 

Method Detail

extractArchive

@Named(value="bulk:extractArchive")
ExtractArchiveResponse extractArchive(String path,
                                            org.jclouds.io.Payload payload,
                                            String format)
Extracts a tar archive at the path specified as path.

Parameters:
path - the path to extract under.
payload - the payload archive.
format - one of tar, tar.gz, or tar.bz2
Returns:
BulkDeleteResponse.getErrors() are empty on success.

bulkDelete

@Named(value="bulk:delete")
BulkDeleteResponse bulkDelete(Iterable<String> paths)
Deletes multiple objects or containers, if present.

Parameters:
paths - format of container, for an empty container, or container/object for an object.
Returns:
BulkDeleteResponse.getErrors() are empty on success.


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.