public class BucketConfigArbiter extends Object implements BucketConfigSink, BucketConfigSource
Other components can listen to the stream by calling configs()
or submit new configs by calling accept(HostAndPort, String).
| Constructor and Description |
|---|
BucketConfigArbiter(Client.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(HostAndPort origin,
String rawConfig) |
void |
accept(HostAndPort origin,
String rawConfig,
BucketConfigRevision rev) |
reactor.core.publisher.Flux<DcpBucketConfig> |
configs() |
public BucketConfigArbiter(Client.Environment environment)
public void accept(HostAndPort origin, String rawConfig, BucketConfigRevision rev)
accept in interface BucketConfigSinkpublic void accept(HostAndPort origin, String rawConfig)
accept in interface BucketConfigSinkpublic reactor.core.publisher.Flux<DcpBucketConfig> configs()
configs in interface BucketConfigSourceCopyright © 2021 Couchbase, Inc.. All rights reserved.