Class GlobalRefresher
java.lang.Object
com.couchbase.client.core.config.refresher.GlobalRefresher
public class GlobalRefresher extends Object
The
GlobalRefresher
keeps the cluster-level global config up-to-date.
It works very similar to the key value refresher on the bucket level, but explicitly has no bucket level scope. It can be started and stopped, since there might be situations where polling is not needed.
-
Constructor Summary
Constructors Constructor Description GlobalRefresher(ConfigurationProvider provider, Core core)
Creates a new global refresher. -
Method Summary
-
Constructor Details
-
GlobalRefresher
Creates a new global refresher.- Parameters:
provider
- the config provider which should get the config updates proposed.core
- the core to send the config commands to.
-
-
Method Details
-
start
-
stop
-
shutdown
-