Shared data allows you to share data safely between different parts of your application in a safe way.
Shared data provides:
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.package |
Default |
---|
__construct()
getAsyncMap( $arg0, $arg1) : void
WARNING: In clustered mode, asynchronous shared maps rely on distributed data structures provided by the cluster manager. Beware that the latency relative to asynchronous shared maps operations can be much higher in clustered than in local mode.
string
callable
getClusterWideMap( $arg0, $arg1) : void
string
callable
getCounter( $arg0, $arg1) : void
string
callable
getLocalMap( $arg0) : \io\vertx\jphp\core\shareddata\LocalMap<K,V>
string
\io\vertx\jphp\core\shareddata\LocalMap
the msp
getLock( $arg0, $arg1) : void
In general lock acquision is unordered, so that sequential attempts to acquire a lock, even from a single thread, can happen in non-sequential order.
string
callable
getLockWithTimeout( $arg0, $arg1, $arg2) : void
In general lock acquision is unordered, so that sequential attempts to acquire a lock, even from a single thread, can happen in non-sequential order.
string
integer
callable