@InterfaceAudience.Private public class WALEditsReplaySink extends Object
| Constructor and Description | 
|---|
| WALEditsReplaySink(org.apache.hadoop.conf.Configuration conf,
                  TableName tableName,
                  HConnection conn)Create a sink for WAL log entries replay | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getStats()Get a string representation of this sink's metrics | 
| void | replayEntries(List<Pair<HRegionLocation,WAL.Entry>> entries)Replay an array of actions of the same region directly into the newly assigned Region Server | 
public WALEditsReplaySink(org.apache.hadoop.conf.Configuration conf,
                  TableName tableName,
                  HConnection conn)
                   throws IOException
conf - tableName - conn - IOExceptionpublic void replayEntries(List<Pair<HRegionLocation,WAL.Entry>> entries) throws IOException
entries - IOExceptionpublic String getStats()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.