Class MockReplicaSystem
- java.lang.Object
-
- org.apache.accumulo.test.replication.MockReplicaSystem
-
- All Implemented Interfaces:
ReplicaSystem
@Deprecated public class MockReplicaSystem extends Object implements ReplicaSystem
Deprecated.Fake ReplicaSystem which returns that the data was fully replicated after some sleep period (in milliseconds)Default sleep amount is 0ms
-
-
Constructor Summary
Constructors Constructor Description MockReplicaSystem()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
configure(ServerContext context, String configuration)
Deprecated.Replication.Status
replicate(org.apache.hadoop.fs.Path p, Replication.Status status, ReplicationTarget target, ReplicaSystemHelper helper)
Deprecated.
-
-
-
Method Detail
-
replicate
public Replication.Status replicate(org.apache.hadoop.fs.Path p, Replication.Status status, ReplicationTarget target, ReplicaSystemHelper helper)
Deprecated.- Specified by:
replicate
in interfaceReplicaSystem
-
configure
public void configure(ServerContext context, String configuration)
Deprecated.- Specified by:
configure
in interfaceReplicaSystem
-
-