Class WorkMaker
- java.lang.Object
-
- org.apache.accumulo.manager.replication.WorkMaker
-
@Deprecated public class WorkMaker extends Object
Deprecated.Reads replication records from the replication table and creates work records which include target replication system information.
-
-
Constructor Summary
Constructors Constructor Description WorkMaker(ServerContext context, AccumuloClient client)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
addWorkRecord(org.apache.hadoop.io.Text file, Value v, Map<String,String> targets, TableId sourceTableId)
Deprecated.protected Map<String,String>
getReplicationTargets(TableConfiguration tableConf)
Deprecated.void
run()
Deprecated.protected void
setBatchWriter(BatchWriter bw)
Deprecated.protected boolean
shouldCreateWork(Replication.Status status)
Deprecated.
-
-
-
Constructor Detail
-
WorkMaker
public WorkMaker(ServerContext context, AccumuloClient client)
Deprecated.
-
-
Method Detail
-
run
public void run()
Deprecated.
-
setBatchWriter
protected void setBatchWriter(BatchWriter bw)
Deprecated.
-
getReplicationTargets
protected Map<String,String> getReplicationTargets(TableConfiguration tableConf)
Deprecated.
-
shouldCreateWork
protected boolean shouldCreateWork(Replication.Status status)
Deprecated.- Returns:
- Should a Work entry be created for this status
-
-