public class ReplicationUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
STATUS_FORMATTER_CLASS_NAME |
Constructor and Description |
---|
ReplicationUtil(ServerContext context) |
ReplicationUtil(ServerContext context,
ReplicaSystemFactory factory) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxReplicationThreads(MasterMonitorInfo mmi) |
Map<String,String> |
getPeers()
Extract replication peers from system configuration
|
Set<org.apache.hadoop.fs.Path> |
getPendingReplicationPaths() |
Map<ReplicationTarget,Long> |
getPendingReplications() |
Set<ReplicationTarget> |
getReplicationTargets() |
public static final String STATUS_FORMATTER_CLASS_NAME
public ReplicationUtil(ServerContext context)
public ReplicationUtil(ServerContext context, ReplicaSystemFactory factory)
public int getMaxReplicationThreads(MasterMonitorInfo mmi)
public Map<String,String> getPeers()
public Set<ReplicationTarget> getReplicationTargets()
public Map<ReplicationTarget,Long> getPendingReplications()
public Set<org.apache.hadoop.fs.Path> getPendingReplicationPaths()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.