主权项 |
1. A method of managing access to a plurality of computational resources, the method comprising:
instantiating, in non-transitory memory, a storage object hierarchy including a root storage object and one or more descendant objects of the root storage object, the storage object hierarchy comprising instantiated objects temporarily denied utilization of the computational resources; instantiating, in the non-transitory memory, a source object hierarchy including a root source object, the source object hierarchy comprising instantiated objects allowed utilization of the computational resources; receiving, at a processing device, a request to execute a process corresponding to a particular object in the storage object hierarchy; relocating, at the processing device, the particular object to the source object hierarchy; and allocating, at the processing device, a computational resource corresponding to the process to the particular object, thereby allowing utilization of the computational resource by the particular storage object, wherein relocating the particular object further comprises:
removing the particular object from the storage object hierarchy;removing any progeny objects of the particular object from the storage object hierarchy;removing any ancestor objects of the particular object from the storage object hierarchy;removing any progeny objects of the ancestor objects from the storage object hierarchy; andadding the particular object, the progeny objects of the particular object, the ancestor objects, and the progeny objects of the ancestor objects to the source object hierarchy. |