|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@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 |
|---|
@Named(value="bulk:extractArchive")
ExtractArchiveResponse extractArchive(String path,
org.jclouds.io.Payload payload,
String format)
path.
path - the path to extract under.payload - the payload archive.format - one of tar, tar.gz, or tar.bz2
BulkDeleteResponse.getErrors() are empty on success.@Named(value="bulk:delete") BulkDeleteResponse bulkDelete(Iterable<String> paths)
paths - format of container, for an empty container, or
container/object for an object.
BulkDeleteResponse.getErrors() are empty on success.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||