io.vertx.config.kubernetes

## Class ConfigMapStore

- java.lang.Object
- - io.vertx.config.kubernetes.ConfigMapStore

- All Implemented Interfaces:
    ConfigStore

      public class ConfigMapStore
      extends Object
      implements ConfigStore

  An implementation of configuration store reading config map from Kubernetes.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConfigMapStore(Vertx vertx, JsonObject configuration)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close(Handler<Void> completionHandler)` Closes the configuration store.
    `void` | `get(Handler<AsyncResult<Buffer>> completionHandler)` Retrieves the configuration store in this store.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConfigMapStore

          public ConfigMapStore(Vertx vertx,
                                JsonObject configuration)

  - ### Method Detail

    - #### close

          public void close(Handler<Void> completionHandler)

      Description copied from interface: `ConfigStore`
      Closes the configuration store.
      Specified by:
        `close` in interface `ConfigStore`
      Parameters:
        `completionHandler` - handler called when the cleanup has been completed

    - #### get

          public void get(Handler<AsyncResult<Buffer>> completionHandler)

      Description copied from interface: `ConfigStore`
      Retrieves the configuration store in this store.
      Specified by:
        `get` in interface `ConfigStore`
      Parameters:
        `completionHandler` - the handler to pass the configuration

Copyright © 2018 Eclipse. All rights reserved.