$prefix
$prefix :
writeStore(string $key, array $data) : boolean
Persists data to disk (does not save in memory, readStore will load it onto memory if required)
| string | $key | The search key |
| array | $data | Data to persist (will be persisted in json format) |
true on success, false otherwise
writeFile(string $srcAbsName, string $destName) : boolean
Writes a file into the disk store
Note : File data must be a json string if you ever intend to read it back later with readStore()
| string | $srcAbsName | The fully qualified path and file name eg /tmp/sjjhas778hsjhh |
| string | $destName | The key name inside the cache eg Device_19.json |
true on success, false otherwise