@Override
    public String toString() {
      return "ReplicationBarrierResult [barriers=" + Arrays.toString(barriers) + ", state=" + state
        + ", parentRegionNames="
        + parentRegionNames.stream().map(Bytes::toStringBinary).collect(Collectors.joining(", "))
        + "]";
    }
Helper class for storing replication barriers in family 'rep_barrier' of meta table.
<p/>
See SerialReplicationChecker on how to make use of the barriers.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/ReplicationBarrierFamilyFormat.java