C# 클래스 Couchbase.ObserveHandler

파일 보기 프로젝트 열기: e-travel/couchbase-net-client 1 사용 예제들

공개 메소드들

메소드 설명
HandleMasterPersistence ( ICouchbaseServerPool pool ) : IObserveOperationResult

Handle the scenario when PersistTo == 1

HandleMasterPersistenceWithReplication ( ICouchbaseServerPool pool ) : IObserveOperationResult
ObserveHandler ( ObserveSettings settings ) : System

비공개 메소드들

메소드 설명
checkNodesForKey ( ObservedNode nodes, IObserveOperation command, bool &isMasterInExpectedState, int &replicaFoundCount, int &replicaPersistedCount ) : IObserveOperationResult
isInExpectedState ( int replicaFoundCount, int replicaPersistedCount, bool masterPersisted ) : bool
performParallelObserve ( ICouchbaseServerPool pool ) : IObserveOperationResult
setupObserveOperation ( ICouchbaseServerPool pool ) : Tuple

메소드 상세

HandleMasterPersistence() 공개 메소드

Handle the scenario when PersistTo == 1
public HandleMasterPersistence ( ICouchbaseServerPool pool ) : IObserveOperationResult
pool ICouchbaseServerPool
리턴 IObserveOperationResult

HandleMasterPersistenceWithReplication() 공개 메소드

public HandleMasterPersistenceWithReplication ( ICouchbaseServerPool pool ) : IObserveOperationResult
pool ICouchbaseServerPool
리턴 IObserveOperationResult

ObserveHandler() 공개 메소드

public ObserveHandler ( ObserveSettings settings ) : System
settings Couchbase.Settings.ObserveSettings
리턴 System