public class MasterReplicationCoordinator extends Object implements ReplicationCoordinator.Iface
| Modifier | Constructor and Description |
|---|---|
|
MasterReplicationCoordinator(Master master) |
protected |
MasterReplicationCoordinator(Master master,
ZooReader reader) |
| Modifier and Type | Method and Description |
|---|---|
protected TServerInstance |
getRandomTServer(Set<TServerInstance> tservers,
int offset) |
String |
getServicerAddress(String remoteTableId,
TCredentials creds) |
public MasterReplicationCoordinator(Master master)
public String getServicerAddress(String remoteTableId, TCredentials creds) throws ReplicationCoordinatorException, org.apache.thrift.TException
getServicerAddress in interface ReplicationCoordinator.IfaceReplicationCoordinatorExceptionorg.apache.thrift.TExceptionprotected TServerInstance getRandomTServer(Set<TServerInstance> tservers, int offset)
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.