C# Class Couchbase.ObserveHandler

Afficher le fichier Open project: e-travel/couchbase-net-client Class Usage Examples

Méthodes publiques

Méthode Description
HandleMasterPersistence ( ICouchbaseServerPool pool ) : IObserveOperationResult

Handle the scenario when PersistTo == 1

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

Private Methods

Méthode Description
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

Method Details

HandleMasterPersistence() public méthode

Handle the scenario when PersistTo == 1
public HandleMasterPersistence ( ICouchbaseServerPool pool ) : IObserveOperationResult
pool ICouchbaseServerPool
Résultat IObserveOperationResult

HandleMasterPersistenceWithReplication() public méthode

public HandleMasterPersistenceWithReplication ( ICouchbaseServerPool pool ) : IObserveOperationResult
pool ICouchbaseServerPool
Résultat IObserveOperationResult

ObserveHandler() public méthode

public ObserveHandler ( ObserveSettings settings ) : System
settings Couchbase.Settings.ObserveSettings
Résultat System