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
-
public class LazyTemporaryStorageFileReferenceData extends LazyFileReferenceData
File reference data stored in a temporary file that will be deleted whenclose()
is called.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.vespa.filedistribution.FileReferenceData
FileReferenceData.Type
-
-
Field Summary
-
Fields inherited from class com.yahoo.vespa.filedistribution.LazyFileReferenceData
file
-
-
Constructor Summary
Constructors Constructor Description LazyTemporaryStorageFileReferenceData(com.yahoo.config.FileReference fileReference, String filename, FileReferenceData.Type type, File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close underlying files-
Methods inherited from class com.yahoo.vespa.filedistribution.LazyFileReferenceData
nextContent, size, xxhash
-
Methods inherited from class com.yahoo.vespa.filedistribution.FileReferenceData
content, filename, fileReference, type
-
-
-
-
Constructor Detail
-
LazyTemporaryStorageFileReferenceData
public LazyTemporaryStorageFileReferenceData(com.yahoo.config.FileReference fileReference, String filename, FileReferenceData.Type type, File file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
close
public void close()
Description copied from class:FileReferenceData
Close underlying files- Overrides:
close
in classLazyFileReferenceData
-
-