@Incubating public interface BuildCacheEntryWriter
Modifier and Type | Method and Description |
---|---|
long |
getSize()
Returns the size of the build cache entry to be written.
|
void |
writeTo(OutputStream output)
Writes a build cache entry to the given stream.
|
void writeTo(OutputStream output) throws IOException
The given output stream will be closed by this method.
output
- output stream to write build cache entry toIOException
- when an I/O error occurs when writing the cache entry to the given output streamlong getSize()