Loading

SHMLOAD

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

extensions stack
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.

SHMLOAD is available since version 2.0.0.

See also

Signatures