open class ConfigRetriever
Defines a configuration retriever that read configuration from and tracks changes periodically. NOTE: This class has been automatically generated from the io.vertx.config.ConfigRetriever non RX-ified interface using Vert.x codegen.
ConfigRetriever(delegate: ConfigRetriever) |
static val __TYPE_ARG: TypeArg<ConfigRetriever> |
open fun close(): Unit
Closes the retriever. |
|
open fun configStream(): ReadStream<JsonObject> |
|
open static fun create(vertx: Vertx, options: ConfigRetrieverOptions): ConfigRetriever
Creates an instance of the default implementation of the io.vertx.rxjava.config.ConfigRetriever. open static fun create(vertx: Vertx): ConfigRetriever
Creates an instance of the default implementation of the io.vertx.rxjava.config.ConfigRetriever, using the default settings (json file, system properties and environment variables). |
|
open fun equals(other: Any?): Boolean |
|
open fun getCachedConfig(): JsonObject
Gets the last computed configuration. |
|
open fun getConfig(completionHandler: Handler<AsyncResult<JsonObject>>): Unit
Reads the configuration from the different and computes the final configuration. |
|
open static fun getConfigAsFuture(retriever: ConfigRetriever): Future<JsonObject>
Same as |
|
open fun getDelegate(): ConfigRetriever |
|
open fun hashCode(): Int |
|
open fun listen(listener: Handler<ConfigChange>): Unit
Registers a listener receiving configuration changes. This method cannot only be called if the configuration is broadcasted. |
|
open static fun newInstance(arg: ConfigRetriever): ConfigRetriever |
|
open fun rxGetConfig(): Single<JsonObject>
Reads the configuration from the different and computes the final configuration. |
|
open fun toString(): String |