Method | Description | |
---|---|---|
BucketConfigListener ( |
||
Start ( ) : void |
Starts listening for configuration data. This method blocks until the initial configuration is received. (Or until all pool urls fail.)
|
|
Stop ( ) : void |
Method | 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, |
public BucketConfigListener ( |
||
poolUrls | ||
bucketName | string | |
bucketPassword | string | |
return | System |