Class PeerDocumentReplication

java.lang.Object
com.couchbase.lite.PeerDocumentReplication

public final class PeerDocumentReplication extends Object
Document replication status for a peer.
  • Method Details

    • getPeer

      @NonNull public PeerInfo.PeerId getPeer()
      The associated peer.
      Returns:
      The peer ID.
    • isPush

      public boolean isPush()
      A flag indicating the direction of the replication.
      Returns:
      true if the replication is inbound, false if it is outbound.
    • getDocuments

      @NonNull public List<ReplicatedDocument> getDocuments()
      Replicated documents.
      Returns:
      The list of replicated documents.