|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.regionserver.wal.WALEditsReplaySink
@InterfaceAudience.Private public class WALEditsReplaySink
This class is responsible for replaying the edits coming from a failed region server.
This class uses the native HBase client in order to replay WAL entries.
| Constructor Summary | |
|---|---|
WALEditsReplaySink(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
HConnection conn)
Create a sink for WAL log entries replay |
|
| Method Summary | |
|---|---|
String |
getStats()
Get a string representation of this sink's metrics |
void |
replayEntries(List<Pair<HRegionLocation,Row>> actions)
Replay an array of actions of the same region directly into the newly assigned Region Server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WALEditsReplaySink(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
HConnection conn)
throws IOException
conf - tableName - conn -
IOException| Method Detail |
|---|
public void replayEntries(List<Pair<HRegionLocation,Row>> actions)
throws IOException
actions -
IOExceptionpublic String getStats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||