logo

class

sys::MemResource

sys::Obj
  sys::Resource
    sys::MemResource

MemResource is a memory based resource which wraps an immutable or serialized obj. A MemResource can also contain other MemResources.

Slots

make

new make(Uri uri, Obj obj)

Make a memory based resource which wraps the specified obj. The object must be either immutable or serializable. This method doesn't create the resource, rather it just returns an unmounted wrapper Resource.

obj

Obj obj