Interface ReplicationOperations


public interface ReplicationOperations
Supports replication configuration
Since:
1.7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPeer(String name, String replicaType)
    Defines a cluster with the given name and the given name system.
    void
    drain(String tableName)
    Waits for a table to be fully replicated, given the state of files pending replication for the provided table at the point in time which this method is invoked.
    void
    drain(String tableName, Set<String> files)
    Given the provided set of files that are pending replication for a table, wait for those files to be fully replicated to all configured peers.
    Gets all of the referenced files for a table from the metadata table.
    void
    Removes a cluster with the given name.