public class NoOpConsistencyGuard extends Object implements ConsistencyGuard
ConsistencyGuard.FileVisibility| Constructor and Description |
|---|
NoOpConsistencyGuard() |
| Modifier and Type | Method and Description |
|---|---|
void |
waitTillAllFilesAppear(String dirPath,
List<String> files)
Wait till all passed files belonging to a directory shows up in the listing.
|
void |
waitTillAllFilesDisappear(String dirPath,
List<String> files)
Wait till all passed files belonging to a directory disappears from listing.
|
void |
waitTillFileAppears(org.apache.hadoop.fs.Path filePath)
Wait for file to be listable based on configurable timeout.
|
void |
waitTillFileDisappears(org.apache.hadoop.fs.Path filePath)
Wait for file to be listable based on configurable timeout.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwaitTillpublic void waitTillFileAppears(org.apache.hadoop.fs.Path filePath)
ConsistencyGuardwaitTillFileAppears in interface ConsistencyGuardpublic void waitTillFileDisappears(org.apache.hadoop.fs.Path filePath)
ConsistencyGuardwaitTillFileDisappears in interface ConsistencyGuardpublic void waitTillAllFilesAppear(String dirPath, List<String> files)
ConsistencyGuardwaitTillAllFilesAppear in interface ConsistencyGuardpublic void waitTillAllFilesDisappear(String dirPath, List<String> files)
ConsistencyGuardwaitTillAllFilesDisappear in interface ConsistencyGuardCopyright © 2022 The Apache Software Foundation. All rights reserved.