Package org.gradle.caching
Interface BuildCacheEntryWriter
public interface BuildCacheEntryWriter
Writer to serialize a build cache entry.
- Since:
- 3.3
- 
Method SummaryModifier and TypeMethodDescriptionlonggetSize()Returns the size of the build cache entry to be written.voidwriteTo(OutputStream output) Writes a build cache entry to the given stream.
- 
Method Details- 
writeToWrites a build cache entry to the given stream.The given output stream will be closed by this method. - Parameters:
- output- output stream to write build cache entry to
- Throws:
- IOException- when an I/O error occurs when writing the cache entry to the given output stream
 
- 
getSizelong getSize()Returns the size of the build cache entry to be written.- Returns:
- the size of the build cache entry to be written.
- Since:
- 4.1
 
 
-