Package org.gradle.caching
Schnittstelle BuildCacheEntryWriter
public interface BuildCacheEntryWriter
Writer to serialize a build cache entry.
- Seit:
- 3.3
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglonggetSize()Returns the size of the build cache entry to be written.voidwriteTo(OutputStream output) Writes a build cache entry to the given stream.
-
Methodendetails
-
writeTo
Writes a build cache entry to the given stream.The given output stream will be closed by this method.
- Parameter:
output- output stream to write build cache entry to- Löst aus:
IOException- when an I/O error occurs when writing the cache entry to the given output stream
-
getSize
long getSize()Returns the size of the build cache entry to be written.- Gibt zurück:
- the size of the build cache entry to be written.
- Seit:
- 4.1
-