Loading

SHMLOAD Extension: io.warp10.script.ext.shm.SharedMemoryWarpScriptExtension


extensions stack
Since v2.0.0
Available on all platforms
See also

Configuration parameters


The SHMLOAD function loads data previously stored by SHMSTORE in shared memory, i.e. in a memory location independent of a given execution context.

The call will fail if the requested shared symbol is not known or if the calling script does not currently hold the mutex associated with the symbol.

The shm.ttl configuration, in millisecond, allow you to tune the retention time in memory. Default value is one hour. Tip: you can call SHMLOAD in a runner with a period shorter than shm.ttl if you want to keep value in memory indefinitely.

Signature