put
Associates a new file serialized by creationFunction with the given key.
This function waits for the creation to complete. If the creation fails, the function returns null
. Any unhandled exceptions inside the creation block will be thrown. Existing or under-creation files associated with key will be replaced by the new file.
creationFunction should return true
if the creation was successful, and false
otherwise.