public interface LeaseRecoverable
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFileClosed(Path file)
Get the close status of a file.
|
boolean |
recoverLease(Path file)
Start the lease recovery of a file.
|
boolean recoverLease(Path file) throws IOException
file - path to a file.IOException - if an error occurs during lease recovery.UnsupportedOperationException - if lease recovery is not supported by this filesystem.boolean isFileClosed(Path file) throws IOException
file - The string representation of the path to the fileIOException - If an I/O error occurredUnsupportedOperationException - if isFileClosed is not supported by this filesystem.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.