C# 클래스 Raven.Client.Document.ReplicationBehavior

파일 보기 프로젝트 열기: robashton/ravendb 1 사용 예제들

공개 메소드들

메소드 설명
ReplicationBehavior ( DocumentStore documentStore ) : System
WaitAsync ( Etag etag = null, TimeSpan timeout = null, string database = null, int replicas = 2 ) : Task

Represents an replication operation to all destination servers of an item specified by ETag

비공개 메소드들

메소드 설명
GetReplicatedEtagsFor ( string destinationUrl ) : Task
WaitForReplicationFromServerAsync ( string url, AsyncCountdownEvent countDown, Etag etag, BlockingCollection errors ) : void

메소드 상세

ReplicationBehavior() 공개 메소드

public ReplicationBehavior ( DocumentStore documentStore ) : System
documentStore DocumentStore
리턴 System

WaitAsync() 공개 메소드

Represents an replication operation to all destination servers of an item specified by ETag
public WaitAsync ( Etag etag = null, TimeSpan timeout = null, string database = null, int replicas = 2 ) : Task
etag Etag ETag of an replicated item
timeout TimeSpan Optional timeout
database string The database from which to check, if null, the default database for the document store connection string
replicas int The min number of replicas that must have the value before we can return (or the number of destinations, if higher)
리턴 Task