Uses of Interface
org.apache.druid.java.util.common.FileUtils.OutputStreamConsumer
Packages that use FileUtils.OutputStreamConsumer
-
Uses of FileUtils.OutputStreamConsumer in org.apache.druid.java.util.common
Methods in org.apache.druid.java.util.common with parameters of type FileUtils.OutputStreamConsumerModifier and TypeMethodDescriptionstatic <T> TFileUtils.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> TFileUtils.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.