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