Class BucketConfigArbiter
java.lang.Object
com.couchbase.client.dcp.conductor.BucketConfigArbiter
- All Implemented Interfaces:
BucketConfigSink,BucketConfigSource
Manages the bucket config stream.
Other components can listen to the stream by calling configs()
or submit new configs by calling accept(HostAndPort, String).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaccept(com.couchbase.client.core.util.HostAndPort origin, String rawConfig, ConfigRevision rev) reactor.core.publisher.Flux<DcpBucketConfig>configs()
-
Constructor Details
-
BucketConfigArbiter
-
-
Method Details
-
accept
public void accept(com.couchbase.client.core.util.HostAndPort origin, String rawConfig, ConfigRevision rev) - Specified by:
acceptin interfaceBucketConfigSink
-
accept
- Specified by:
acceptin interfaceBucketConfigSink
-
configs
- Specified by:
configsin interfaceBucketConfigSource
-