vert-x3 / vertx-config

Vert.x Configuration Service
Apache License 2.0
54 stars 64 forks source link

Use AtomicReference in EventBusConfigStore instead of synchronization #50

Closed tsegismont closed 6 years ago

tsegismont commented 6 years ago

Chances are high that the event loop receiving config updates will be different than the event loop looking-up for config. So the synchronize blocks won't be optimized away at runtime.

Also, JsonObject has a toBuffer method now