public class EnvVariablesConfigStore extends Object implements ConfigStoreFactory, ConfigStore
As this configuration store is a singleton, the factory returns always the same instance.
| Constructor and Description |
|---|
EnvVariablesConfigStore() |
EnvVariablesConfigStore(boolean rawData,
JsonArray keys) |
| Modifier and Type | Method and Description |
|---|---|
ConfigStore |
create(Vertx vertx,
JsonObject configuration)
Creates an instance of the
ConfigStore. |
void |
get(Handler<AsyncResult<Buffer>> completionHandler)
Retrieves the configuration store in this store.
|
String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic EnvVariablesConfigStore()
public EnvVariablesConfigStore(boolean rawData,
JsonArray keys)
public String name()
name in interface ConfigStoreFactorypublic ConfigStore create(Vertx vertx, JsonObject configuration)
ConfigStoreFactoryConfigStore.create in interface ConfigStoreFactoryvertx - the vert.x instance, never nullconfiguration - the configuration, never null, but potentially emptypublic void get(Handler<AsyncResult<Buffer>> completionHandler)
ConfigStoreget in interface ConfigStorecompletionHandler - the handler to pass the configurationCopyright © 2020. All rights reserved.