@Internal public class RefCountedTmpFileCreator extends Object implements FunctionWithException<File,RefCountedFileWithStream,IOException>
reference counted filesthat serve as temporary files.
|Modifier and Type||Method and Description|
Gets the next temp file and stream to temp file.
public RefCountedFileWithStream apply(File file) throws IOException
This method is safe against concurrent use.
file- The argument to the function.
IOException- Thrown, if the stream to the temp file could not be opened.
public static RefCountedTmpFileCreator inDirectories(File... tmpDirectories)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.