Uses of Interface
org.apache.druid.java.util.common.FileUtils.OutputStreamConsumer
-
Packages that use FileUtils.OutputStreamConsumer Package Description org.apache.druid.java.util.common -
-
Uses of FileUtils.OutputStreamConsumer in org.apache.druid.java.util.common
Methods in org.apache.druid.java.util.common with parameters of type FileUtils.OutputStreamConsumer Modifier and Type Method Description static <T> T
FileUtils. writeAtomically(File file, File tmpDir, FileUtils.OutputStreamConsumer<T> f)
Write to a file atomically, by first writing to a temporary file in given tmpDir directory and then moving it to the target location.static <T> T
FileUtils. writeAtomically(File file, FileUtils.OutputStreamConsumer<T> f)
Write to a file atomically, by first writing to a temporary file in the same directory and then moving it to the target location.
-