public interface BucketRefresher
BucketRefresher
is responsible to keep the configurations up to date after the initial
bootstrap/load.Modifier and Type | Method and Description |
---|---|
Mono<Void> |
deregister(String name)
Deregisters a bucket from refreshing (stopping the refresh).
|
void |
markTainted(String name)
Marks the bucket as tainted, which will change the behavior of the refresher.
|
void |
markUntainted(String name)
Marks the bucket as untainted, which will change the behavior of the refresher.
|
Mono<Void> |
register(String name)
Registers a bucket for refreshing.
|
Mono<Void> |
shutdown()
Permanently shuts down the refresher.
|
Mono<Void> register(String name)
name
- the name of the bucket.Mono
once complete.Mono<Void> deregister(String name)
name
- the name of the bucket.Mono
once complete.void markTainted(String name)
A config is marked as tainted during rebalance, which usually leads to shorter intervals of checking if a new configuration exists (depending of the refresher impl).
name
- the name of the bucket.void markUntainted(String name)
A config is marked as tainted during rebalance, which usually leads to shorter intervals of checking if a new configuration exists (depending of the refresher impl).
name
- the name of the bucket.Copyright © 2020 Couchbase, Inc.. All rights reserved.