Package | Description |
---|---|
org.apache.hadoop.hbase.replication.regionserver |
Modifier and Type | Class and Description |
---|---|
class |
RecoveredReplicationSource
Class that handles the recovered source of a replication stream, which is transfered from
another dead region server.
|
class |
ReplicationSource
Class that handles the source of a replication stream.
|
Modifier and Type | Field and Description |
---|---|
private ReplicationSourceInterface |
ReplicationSourceShipper.source |
Modifier and Type | Field and Description |
---|---|
private List<ReplicationSourceInterface> |
ReplicationSourceManager.oldsources |
private ConcurrentMap<String,ReplicationSourceInterface> |
ReplicationSourceManager.sources |
Modifier and Type | Method and Description |
---|---|
(package private) ReplicationSourceInterface |
ReplicationSourceManager.addSource(String peerId)
Add a normal source for the given peer on this region server.
|
(package private) static ReplicationSourceInterface |
ReplicationSourceFactory.create(org.apache.hadoop.conf.Configuration conf,
String queueId) |
private ReplicationSourceInterface |
ReplicationSourceManager.createSource(String queueId,
ReplicationPeer replicationPeer)
Factory method to create a replication source
|
ReplicationSourceInterface |
ReplicationSourceManager.getSource(String peerId)
Get the normal source for a given peer
|
Modifier and Type | Method and Description |
---|---|
List<ReplicationSourceInterface> |
ReplicationSourceManager.getOldSources()
Get a list of all the recovered sources of this rs
|
List<ReplicationSourceInterface> |
ReplicationSourceManager.getSources()
Get a list of all the normal sources of this rs
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ReplicationSourceManager.removeRecoveredSource(ReplicationSourceInterface src)
Clear the metrics and related replication queue of the specified old source
|
(package private) void |
ReplicationSourceManager.removeSource(ReplicationSourceInterface src)
Clear the metrics and related replication queue of the specified old source
|
Constructor and Description |
---|
ReplicationSourceShipper(org.apache.hadoop.conf.Configuration conf,
String walGroupId,
PriorityBlockingQueue<org.apache.hadoop.fs.Path> queue,
ReplicationSourceInterface source) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.