Class ClusterManagerBucketRefresher
java.lang.Object
com.couchbase.client.core.config.refresher.ClusterManagerBucketRefresher
- All Implemented Interfaces:
BucketRefresher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionderegister(String name) Deregisters a bucket from refreshing (stopping the refresh).voidmarkTainted(String name) No action needed when a config is marked as tainted for the cluster manager refresher, since the server pushes new configs anyways during rebalance.voidmarkUntainted(String name) No action needed when a config is marked as untainted for the cluster manager refresher, since the server pushes new configs anyways during rebalance.Registers a given bucket for http-based config refresh if not already registered.Returns the names of all registered buckets.shutdown()Permanently shuts down the refresher.
-
Constructor Details
-
ClusterManagerBucketRefresher
-
-
Method Details
-
register
Registers a given bucket for http-based config refresh if not already registered.- Specified by:
registerin interfaceBucketRefresher- Parameters:
name- the name of the bucket.- Returns:
- the Mono once registered.
-
deregister
Description copied from interface:BucketRefresherDeregisters a bucket from refreshing (stopping the refresh).- Specified by:
deregisterin interfaceBucketRefresher- Parameters:
name- the name of the bucket.- Returns:
- a
Monoonce complete.
-
shutdown
Description copied from interface:BucketRefresherPermanently shuts down the refresher.- Specified by:
shutdownin interfaceBucketRefresher- Returns:
- a
Monoonce complete.
-
markTainted
No action needed when a config is marked as tainted for the cluster manager refresher, since the server pushes new configs anyways during rebalance.- Specified by:
markTaintedin interfaceBucketRefresher- Parameters:
name- the name of the bucket.
-
markUntainted
No action needed when a config is marked as untainted for the cluster manager refresher, since the server pushes new configs anyways during rebalance.- Specified by:
markUntaintedin interfaceBucketRefresher- Parameters:
name- the name of the bucket.
-
registered
Description copied from interface:BucketRefresherReturns the names of all registered buckets.- Specified by:
registeredin interfaceBucketRefresher- Returns:
- all registered buckets.
-