vertx / io.vertx.reactivex.core.shareddata

## Package io.vertx.reactivex.core.shareddata

### Types

AsyncMap | `open class AsyncMap<K : Any, V : Any>` An asynchronous map. NOTE: This class has been automatically generated from the io.vertx.core.shareddata.AsyncMap non RX-ified interface using Vert.x codegen.
Counter | `open class Counter` An asynchronous counter that can be used to across the cluster to maintain a consistent count. NOTE: This class has been automatically generated from the io.vertx.core.shareddata.Counter non RX-ified interface using Vert.x codegen.
LocalMap | `open class LocalMap<K : Any, V : Any>` Local maps can be used to share data safely in a single Vert.x instance. The map only allows immutable keys and values in the map, OR certain mutable objects such as io.vertx.reactivex.core.buffer.Buffer instances which will be copied when they are added to the map. This ensures there is no shared access to mutable state from different threads (e.g. different event loops) in the Vert.x instance, and means you don't have to protect access to that state using synchronization or locks. Your own objects can be marked as immutable by implementing the io.vertx.reactivex.core.shareddata.Shareable interface. Since the version 3.4, this class extends the interface. However some methods are only accessible in Java. NOTE: This class has been automatically generated from the io.vertx.core.shareddata.LocalMap non RX-ified interface using Vert.x codegen.
Lock | `open class Lock` An asynchronous exclusive lock which can be obtained from any node in the cluster. When the lock is obtained, no-one else in the cluster can obtain the lock with the same name until the lock is released. NOTE: This class has been automatically generated from the io.vertx.core.shareddata.Lock non RX-ified interface using Vert.x codegen.
SharedData | `open class SharedData` Shared data allows you to share data safely between different parts of your application in a safe way. Shared data provides: synchronous shared maps (local) asynchronous maps (local or cluster-wide) asynchronous locks (local or cluster-wide) asynchronous counters (local or cluster-wide) WARNING: In clustered mode, asynchronous maps/locks/counters rely on distributed data structures provided by the cluster manager. Beware that the latency relative to asynchronous maps/locks/counters operations can be much higher in clustered than in local mode. Please see the documentation for more information. NOTE: This class has been automatically generated from the io.vertx.core.shareddata.SharedData non RX-ified interface using Vert.x codegen.