Package com.yahoo.vespa.filedistribution
Class LazyTemporaryStorageFileReferenceData
java.lang.Object
com.yahoo.vespa.filedistribution.FileReferenceData
com.yahoo.vespa.filedistribution.LazyFileReferenceData
com.yahoo.vespa.filedistribution.LazyTemporaryStorageFileReferenceData
File reference data stored in a temporary file that will be deleted when
close()
is called.-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.vespa.filedistribution.FileReferenceData
FileReferenceData.CompressionType, FileReferenceData.Type
-
Field Summary
Fields inherited from class com.yahoo.vespa.filedistribution.LazyFileReferenceData
file
-
Constructor Summary
ConstructorDescriptionLazyTemporaryStorageFileReferenceData
(com.yahoo.config.FileReference fileReference, String filename, FileReferenceData.Type type, File file, FileReferenceData.CompressionType compressionType) -
Method Summary
Methods inherited from class com.yahoo.vespa.filedistribution.LazyFileReferenceData
nextContent, size, xxhash
Methods inherited from class com.yahoo.vespa.filedistribution.FileReferenceData
compressionType, content, filename, fileReference, toString, type
-
Constructor Details
-
LazyTemporaryStorageFileReferenceData
public LazyTemporaryStorageFileReferenceData(com.yahoo.config.FileReference fileReference, String filename, FileReferenceData.Type type, File file, FileReferenceData.CompressionType compressionType) throws IOException - Throws:
IOException
-
-
Method Details
-
close
public void close()Description copied from class:FileReferenceData
Close underlying files- Overrides:
close
in classLazyFileReferenceData
-