Package org.fcrepo.persistence.api
Interface WriteOutcome
-
public interface WriteOutcome
Information describing the outcome of a write operation.- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LonggetContentSize()The size of the file written.Collection<URI>getDigests()Digests calculated from the content during writingInstantgetTimeWritten()The time at which the write completed
-
-
-
Method Detail
-
getContentSize
Long getContentSize()
The size of the file written.- Returns:
- content size
-
getTimeWritten
Instant getTimeWritten()
The time at which the write completed- Returns:
- instant representing the time the write completed
-
getDigests
Collection<URI> getDigests()
Digests calculated from the content during writing- Returns:
- digests
-
-