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
IOException
public void cleanUp()
public void testFileIOEngine() throws IOException
IOException
public void testFileIOEngineHandlesZeroLengthInput() throws IOException
IOException
public void testReadFailedShouldReleaseByteBuff()
public void testClosedChannelException() throws IOException
IOException
public void testRefreshFileConnection() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.