Classes
Methods
(static) ConfigRetriever.create(vertx) → {ConfigRetriever}
Creates an instance of the default implementation of the ConfigRetriever, using the default
settings (json file, system properties and environment variables).
Parameters:
| Name | Type | Description |
|---|---|---|
vertx |
Vertx | the vert.x instance |
Returns:
the created instance.
- Type
- ConfigRetriever
(static) ConfigRetriever.getConfigAsFuture(retriever) → {Future}
Same as ConfigRetriever#getConfig, but returning a object. The result is a
.
Parameters:
| Name | Type | Description |
|---|---|---|
retriever |
ConfigRetriever | the config retrieve |
Returns:
the future completed when the configuration is retrieved
- Type
- Future