| Package | Description |
|---|---|
| org.apache.druid.java.util.common |
| Modifier and Type | Method and 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.
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.