vertx / io.vertx.core.shareddata

## Package io.vertx.core.shareddata

### Types

Shareable | `interface Shareable` A marker interface which allows you to put arbitrary objects into a io.vertx.core.shareddata.LocalMap. Normally local maps only allow immutable objects or other copiable objects such as io.vertx.core.buffer.Buffer instances in order to avoid shared access to mutable state. However if you have an object that you know is thread-safe you can mark it with this interface and then you will be able to add it to io.vertx.core.shareddata.LocalMap instances. Use this interface with caution.
SharedData | `interface SharedData` Shared data allows you to share data safely between different parts of your application in a safe way. Shared data provides: Cluster wide maps which can be accessed from any node of the cluster Cluster wide locks which can be used to give exclusive access to resources across the cluster Cluster wide counters used to maintain counts consistently across the cluster Local maps for sharing data safely in the same Vert.x instance Please see the documentation for more information.