public interface Shareable
LocalMap
.
Normally local maps only allow immutable objects or other copiable objects such as 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 LocalMap
instances.
Use this interface with caution.
Copyright © 2017. All rights reserved.