| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.replication.regionserver | 
| Modifier and Type | Class and Description | 
|---|---|
| (package private) class  | CatalogReplicationSourceReplicationSource that reads catalog WAL files -- e.g. | 
| class  | RecoveredReplicationSourceClass that handles the recovered source of a replication stream, which is transfered from
 another dead region server. | 
| class  | ReplicationSourceClass that handles the source of a replication stream. | 
| Modifier and Type | Field and Description | 
|---|---|
| private ReplicationSourceInterface | ReplicationSourceShipper. source | 
| Modifier and Type | Field and Description | 
|---|---|
| (package private) AtomicReference<ReplicationSourceInterface> | ReplicationSourceManager. catalogReplicationSourceA special ReplicationSource for hbase:meta Region Read Replicas. | 
| private List<ReplicationSourceInterface> | ReplicationSourceManager. oldsources | 
| private ConcurrentMap<String,ReplicationSourceInterface> | ReplicationSourceManager. sources | 
| Modifier and Type | Method and Description | 
|---|---|
| ReplicationSourceInterface | ReplicationSourceManager. addCatalogReplicationSource(RegionInfo regionInfo)Add an hbase:meta Catalog replication source. | 
| (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. createCatalogReplicationSource(RegionInfo regionInfo)Create, initialize, and start the Catalog ReplicationSource. | 
| private ReplicationSourceInterface | ReplicationSourceManager. createSource(String queueId,
            ReplicationPeer replicationPeer) | 
| ReplicationSourceInterface | ReplicationSourceManager. getSource(String peerId)Get the normal source for a given peer | 
| ReplicationSourceInterface | ReplicationSourceInterface. startup()Start the replication | 
| ReplicationSourceInterface | ReplicationSource. startup() | 
| 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 | 
|---|---|
| void | ReplicationSourceManager. logPositionAndCleanOldLogs(ReplicationSourceInterface source,
                          WALEntryBatch entryBatch)This method will log the current position to storage. | 
| (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 | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ReplicationLoad. buildReplicationLoad(List<ReplicationSourceInterface> sources,
                    MetricsSink skMetrics)buildReplicationLoad | 
| Constructor and Description | 
|---|
| ReplicationSourceShipper(org.apache.hadoop.conf.Configuration conf,
                        String walGroupId,
                        PriorityBlockingQueue<org.apache.hadoop.fs.Path> queue,
                        ReplicationSourceInterface source) | 
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.