public class ReplicationProcessor extends Object implements DistributedWorkQueue.Processor
| Constructor and Description |
|---|
ReplicationProcessor(ClientContext context,
AccumuloConfiguration conf,
VolumeManager fs) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doesFileExist(org.apache.hadoop.fs.Path filePath,
ReplicationTarget target) |
protected ReplicaSystemHelper |
getHelper() |
protected String |
getPeerType(String peerName) |
protected ReplicaSystem |
getReplicaSystem(ReplicationTarget target) |
protected Replication.Status |
getStatus(String file,
ReplicationTarget target) |
ReplicationProcessor |
newProcessor() |
void |
process(String workID,
byte[] data) |
public ReplicationProcessor(ClientContext context, AccumuloConfiguration conf, VolumeManager fs)
public ReplicationProcessor newProcessor()
newProcessor in interface DistributedWorkQueue.Processorpublic void process(String workID, byte[] data)
process in interface DistributedWorkQueue.Processorprotected ReplicaSystemHelper getHelper()
protected ReplicaSystem getReplicaSystem(ReplicationTarget target)
protected boolean doesFileExist(org.apache.hadoop.fs.Path filePath,
ReplicationTarget target)
throws IOException
IOExceptionprotected Replication.Status getStatus(String file, ReplicationTarget target) throws ReplicationTableOfflineException, AccumuloException, AccumuloSecurityException, com.google.protobuf.InvalidProtocolBufferException
ReplicationTableOfflineExceptionAccumuloExceptionAccumuloSecurityExceptioncom.google.protobuf.InvalidProtocolBufferExceptionCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.