public class WorkMaker extends Object
| Constructor and Description |
|---|
WorkMaker(ServerContext context,
AccumuloClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addWorkRecord(org.apache.hadoop.io.Text file,
Value v,
Map<String,String> targets,
Table.ID sourceTableId) |
protected Map<String,String> |
getReplicationTargets(TableConfiguration tableConf) |
void |
run() |
protected void |
setBatchWriter(BatchWriter bw) |
protected boolean |
shouldCreateWork(Replication.Status status) |
public WorkMaker(ServerContext context, AccumuloClient client)
public void run()
protected void setBatchWriter(BatchWriter bw)
protected Map<String,String> getReplicationTargets(TableConfiguration tableConf)
protected boolean shouldCreateWork(Replication.Status status)
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.