TestFSHLogProvider (Apache HBase 2.3.0 Test API)


JavaScript is disabled on your browser.





    • Method Detail













      • addEdits

        private void addEdits(org.apache.hadoop.hbase.wal.WAL log,
                              org.apache.hadoop.hbase.client.RegionInfo hri,
                              org.apache.hadoop.hbase.client.TableDescriptor htd,
                              int times,
                              NavigableMap<byte[],Integer> scopes)
                       throws IOException
        Throws:
        IOException



      • getWalKey

        org.apache.hadoop.hbase.wal.WALKeyImpl getWalKey(byte[] info,
                                                         org.apache.hadoop.hbase.TableName tableName,
                                                         long timestamp,
                                                         NavigableMap<byte[],Integer> scopes)

        used by TestDefaultWALProviderWithHLogKey

        Parameters:
        scopes -



      • flushRegion

        protected void flushRegion(org.apache.hadoop.hbase.wal.WAL wal,
                                   byte[] regionEncodedName,
                                   Set<byte[]> flushedFamilyNames)

        helper method to simulate region flush for a WAL.

        Parameters:
        wal -
        regionEncodedName -










Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.

Source link