Class PeerReplicatorStatus

java.lang.Object
com.couchbase.lite.PeerReplicatorStatus

public final class PeerReplicatorStatus extends Object
The replicator’s status for a peer.
  • Method Details

    • getPeerId

      @NonNull public PeerInfo.PeerId getPeerId()
      The associated peer.
      Returns:
      The peer ID.
    • isOutgoing

      public boolean isOutgoing()
      A flag indicating the direction of the replication.
      Returns:
      true if the replicator is outgoing (i.e. initiated the outgoing connection) , false otherwise (i.e. accepted the incoming connection).
    • getStatus

      @NonNull public ReplicatorStatus getStatus()
      Replicator status and progress.
      Returns:
      The replicator status.