C# Class Membase.BucketConfigListener

Afficher le fichier Open project: 7digital/EnyimMemcached Class Usage Examples

Méthodes publiques

Méthode Description
BucketConfigListener ( Uri poolUrls, string bucketName, string bucketPassword ) : System
Start ( ) : void

Starts listening for configuration data. This method blocks until the initial configuration is received. (Or until all pool urls fail.)

Stop ( ) : void

Private Methods

Méthode Description
GetPooledListener ( ) : Membase.MessageStreamListener

Returns a MessageStreamListener instance based on this instance's configuratino (timeout, bucket name etc.) When multiple listeners are requested with the exact same parameters (usually when multiple clients are instantiated from the same configuration), the same listener will be returned each time.

HandleMessage ( string message ) : void
RaiseConfigChanged ( ClusterConfig config ) : void
ReleaseListener ( Membase.MessageStreamListener listener ) : void

Unsubscibes from a pooled listener, and destrpys it if no additionals subscribers are present.

ResolveBucketUri ( Membase.WebClientWithTimeout client, Uri root, string bucketName ) : Uri

Method Details

BucketConfigListener() public méthode

public BucketConfigListener ( Uri poolUrls, string bucketName, string bucketPassword ) : System
poolUrls System.Uri
bucketName string
bucketPassword string
Résultat System

Start() public méthode

Starts listening for configuration data. This method blocks until the initial configuration is received. (Or until all pool urls fail.)
public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void