public interface StaticLargeObjectApi
Modifier and Type | Method and Description |
---|---|
void |
delete(String objectName)
Deletes a static large object, if present, including all of its segments.
|
String |
replaceManifest(String objectName,
List<Segment> segments,
Map<String,String> metadata)
Creates or updates a static large object's manifest.
|
@Named(value="staticLargeObject:replaceManifest") String replaceManifest(String objectName, List<Segment> segments, Map<String,String> metadata)
objectName
- corresponds to SwiftObject#getName()
.segments
- ordered parts which will be concatenated upon download.metadata
- corresponds to SwiftObject#getMetadata()
.SwiftObject#getEtag()
of the object, which is the MD5
checksum of the concatenated ETag values of the segments
.@Named(value="staticLargeObject:delete") void delete(String objectName)
objectName
- corresponds to SwiftObject#getName()
.Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.