An asynchronous map.
see |
does not allow |
---|---|
package |
Default |
__construct()
clear( $arg0) : void
callable
get( $arg0, $arg1) : void
mixed
callable
put( $arg0, $arg1, $arg2, $arg3 = null) : void
param $k [mixed] the key param $v [mixed] the value param $completionHandler [callable] - this will be called some time later to signify the value has been put put($k, $v, $completionHandler)
Like @see \io\vertx\jphp\core\shareddata\AsyncMap::put but specifying a time to live for the entry. Entry will expire and get evicted after the ttl.
param $k [mixed] the key param $v [mixed] the value param $ttl [integer] The time to live (in ms) for the entry param $completionHandler [callable] the handler put($k, $v, $ttl, $completionHandler)
mixed
mixed
callable | integer
callable
putIfAbsent( $arg0, $arg1, $arg2, $arg3 = null) : void
param $k [mixed] the key param $v [mixed] the value param $completionHandler [callable] the handler putIfAbsent($k, $v, $completionHandler)
Link @see \io\vertx\jphp\core\shareddata\AsyncMap::putIfAbsent but specifying a time to live for the entry. Entry will expire and get evicted after the ttl.
param $k [mixed] the key param $v [mixed] the value param $ttl [integer] The time to live (in ms) for the entry param $completionHandler [callable] the handler putIfAbsent($k, $v, $ttl, $completionHandler)
mixed
mixed
callable | integer
callable
remove( $arg0, $arg1) : void
mixed
callable
removeIfPresent( $arg0, $arg1, $arg2) : void
mixed
mixed
callable
replace( $arg0, $arg1, $arg2) : void
mixed
mixed
callable
replaceIfPresent( $arg0, $arg1, $arg2, $arg3) : void
mixed
mixed
mixed
callable
size( $arg0) : void
callable