public final class CooperativeFileLock extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Unlock the directory.
|
static void |
lockAndRun(Path directory,
LockedProcedure procedure) |
public static void lockAndRun(Path directory, LockedProcedure procedure)
public void close()
close in interface AutoCloseableCopyright © 2024. All rights reserved.