Store a resource under a given name.
The resource manager must guarantee that the stored data survives system reboots and that you can recreate a copy of resource
by calling load using the same resource_name
.
Important note: This call may do blocking IO. The resource manager must guarantee that this call is reasonably fast, like writing the externalized resource to a file, but not blocking IO over a network socket.
this |
The resource manager to invoke |
resource |
A Serializable to store under |
resource_name |
The name to store the resource under. Will overwrite any existing resource with the same name |
|