public class TestFileIOEngine extends Object
FileIOEngine| Modifier and Type | Field and Description |
|---|---|
private static List<Long> |
boundaryStartPositions |
private static List<Long> |
boundaryStopPositions |
static HBaseClassTestRule |
CLASS_RULE |
private static String[] |
FILE_PATHS |
private org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine |
fileIOEngine |
private static long |
SIZE_PER_FILE |
private static long |
TOTAL_CAPACITY |
| Constructor and Description |
|---|
TestFileIOEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
setUp() |
void |
testClosedChannelException() |
void |
testFileIOEngine() |
void |
testFileIOEngineHandlesZeroLengthInput() |
void |
testReadFailedShouldReleaseByteBuff() |
void |
testRefreshFileConnection() |
public static final HBaseClassTestRule CLASS_RULE
private static final long TOTAL_CAPACITY
private static final String[] FILE_PATHS
private static final long SIZE_PER_FILE
private static final List<Long> boundaryStartPositions
private static final List<Long> boundaryStopPositions
private org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine fileIOEngine
public TestFileIOEngine()
public void setUp() throws IOException
IOExceptionpublic void cleanUp()
public void testFileIOEngine() throws IOException
IOExceptionpublic void testFileIOEngineHandlesZeroLengthInput() throws IOException
IOExceptionpublic void testReadFailedShouldReleaseByteBuff()
public void testClosedChannelException() throws IOException
IOExceptionpublic void testRefreshFileConnection() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.