Package org.apache.hadoop.hbase.io
Class TestFileChangeWatcher
java.lang.Object
org.apache.hadoop.hbase.io.TestFileChangeWatcher
This file has been copied from the Apache ZooKeeper project.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final longprivate static final org.slf4j.Loggerprivate static Fileprivate static Fileprivate static final HBaseCommonTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidvoidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
tempDir
-
tempFile
-
LOG
-
UTIL
-
FS_TIMEOUT
- See Also:
-
-
Constructor Details
-
TestFileChangeWatcher
public TestFileChangeWatcher()
-
-
Method Details
-
createTempFile
- Throws:
IOException
-
cleanupTempDir
-
testEnableCertFileReloading
- Throws:
IOException
-
testCallbackWorksOnFileChanges
- Throws:
IOExceptionInterruptedException
-
testCallbackWorksOnFileTouched
- Throws:
IOExceptionInterruptedException
-
testCallbackWorksOnFileAdded
- Throws:
IOExceptionInterruptedException
-
testCallbackWorksOnFileDeleted
- Throws:
IOExceptionInterruptedException
-
testCallbackErrorDoesNotCrashWatcherThread
- Throws:
IOExceptionInterruptedException
-