@InterfaceAudience.LimitedPrivate(value="Replication") public static class ReplicationEndpoint.Context extends Object
Modifier and Type | Field and Description |
---|---|
private Abortable |
abortable |
private UUID |
clusterId |
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.fs.FileSystem |
fs |
private org.apache.hadoop.conf.Configuration |
localConf |
private MetricsSource |
metrics |
private String |
peerId |
private ReplicationPeer |
replicationPeer |
private TableDescriptors |
tableDescriptors |
Constructor and Description |
---|
Context(org.apache.hadoop.conf.Configuration localConf,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
String peerId,
UUID clusterId,
ReplicationPeer replicationPeer,
MetricsSource metrics,
TableDescriptors tableDescriptors,
Abortable abortable) |
Modifier and Type | Method and Description |
---|---|
Abortable |
getAbortable() |
UUID |
getClusterId() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.fs.FileSystem |
getFilesystem() |
org.apache.hadoop.conf.Configuration |
getLocalConfiguration() |
MetricsSource |
getMetrics() |
ReplicationPeerConfig |
getPeerConfig() |
String |
getPeerId() |
ReplicationPeer |
getReplicationPeer() |
TableDescriptors |
getTableDescriptors() |
private final org.apache.hadoop.conf.Configuration localConf
private final org.apache.hadoop.conf.Configuration conf
private final org.apache.hadoop.fs.FileSystem fs
private final TableDescriptors tableDescriptors
private final ReplicationPeer replicationPeer
private final MetricsSource metrics
@InterfaceAudience.Private public Context(org.apache.hadoop.conf.Configuration localConf, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, String peerId, UUID clusterId, ReplicationPeer replicationPeer, MetricsSource metrics, TableDescriptors tableDescriptors, Abortable abortable)
public org.apache.hadoop.conf.Configuration getConfiguration()
public org.apache.hadoop.conf.Configuration getLocalConfiguration()
public org.apache.hadoop.fs.FileSystem getFilesystem()
public UUID getClusterId()
public ReplicationPeerConfig getPeerConfig()
public ReplicationPeer getReplicationPeer()
public MetricsSource getMetrics()
public TableDescriptors getTableDescriptors()
public Abortable getAbortable()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.