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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final long
private static final org.slf4j.Logger
private static File
private static File
private static final HBaseCommonTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
void
void
void
void
void
void
-
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:
IOException
InterruptedException
-
testCallbackWorksOnFileTouched
- Throws:
IOException
InterruptedException
-
testCallbackWorksOnFileAdded
- Throws:
IOException
InterruptedException
-
testCallbackWorksOnFileDeleted
- Throws:
IOException
InterruptedException
-
testCallbackErrorDoesNotCrashWatcherThread
- Throws:
IOException
InterruptedException
-