|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentWriter
Method Summary | |
---|---|
java.util.List<AddContentResult> |
getResults()
This method returns an item-by-item list of results for the write requests. |
void |
ignore(java.lang.String spaceId,
java.lang.String contentId,
long contentSize)
This method helps with the book-keeping of which files are ignored. |
ChunksManifest |
write(java.lang.String spaceId,
ChunkableContent chunkable)
This method writes the ChunkableContent to the arg space. |
java.lang.String |
writeSingle(java.lang.String spaceId,
java.lang.String chunkChecksum,
ChunkInputStream chunk)
This method writes the arg Chunk to the arg space. |
Method Detail |
---|
ChunksManifest write(java.lang.String spaceId, ChunkableContent chunkable) throws NotFoundException
spaceId
- destination where arg chunkable content will be writtenchunkable
- content to be written
NotFoundException
- on errorjava.lang.String writeSingle(java.lang.String spaceId, java.lang.String chunkChecksum, ChunkInputStream chunk) throws NotFoundException
spaceId
- destination where arg chunk content will be writtenchunkChecksum
- md5 checksum of the chunk if known, null otherwisechunk
- content to be written
NotFoundException
- on errorvoid ignore(java.lang.String spaceId, java.lang.String contentId, long contentSize)
spaceId
- destination where arg content was assigned to be writtencontentId
- of contentcontentSize
- of contentjava.util.List<AddContentResult> getResults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |