Interface HotFile
- All Superinterfaces:
org.aksw.commons.io.endpoint.FileCreation
- All Known Implementing Classes:
HotFileFromJava,HotFileFromProcess
public interface HotFile
extends org.aksw.commons.io.endpoint.FileCreation
A hot file is a currently running file creation to by another thread or process.
The HotFile API allows for waiting for the final file to become ready, or to
open input streams for concurrent reads
- Author:
- raven
-
Method Summary
Modifier and TypeMethodDescriptionOpen a new stream to the hot file The input stream delivery may be delayed until after the file creation is complete.Methods inherited from interface org.aksw.commons.io.endpoint.FileCreation
abort, future
-
Method Details
-
newInputStream
Open a new stream to the hot file The input stream delivery may be delayed until after the file creation is complete. TODO Add a flag to hint the methods behavior- Returns:
- Throws:
IOException
-