Locking multiple resources in a distributed environment
AssigneeMicrosoft Corporation
InventorJonathan Goldick
Life of this patent
Estimating the term…
Abstract
A method and system that creates and maintains lock properties for a resource or object in a distributed environment. The method and system creates and/or updates lock objects to relate to multiple locks, i.e., multiple resources. The method and system creates and maintains lock properties for a resource or object in a distributed environment.
Claims20
A computer storage medium readable by a computer system and encoding a computer program of instructions for executing a computer process, comprising:
- providing a lock object that locks a plurality of resources, wherein at least two of the resources are unrelated;
- the lock object further comprising a resource list that identified the resources locked by the lock object;
- and
- wherein the lock object was created in response to a single lock request.
A computer-implemented method for managing access to resources in a distributed computing environment, wherein at least a first resource is locked for access by a client application using a lock object, the method comprising:
- receiving a request to update the lock object;
- determining whether the request was made by the client application;
- if the request was made by the client application, updating the lock object according to the request;
- and
- if the request was not made by the client application, denying the update request.
A computer-implemented method for managing access to resources in a distributed computing environment, wherein each resource is identified in the distributed computing environment using a unique identifier and wherein at least a first resource is locked for access by a client application using a lock object, the method comprising:
- maintaining in association with the lock object a list of unique identifiers, wherein each unique identifier in the list corresponds to a resource locked by the lock object;
- receiving a request for the lock object to lock a second resource, wherein the request comprises a unique identifier corresponding for the second resource;
- evaluating whether to lock the second resource using the lock object;
- and
- in response to determining to lock the second resource using the lock object, adding the unique identifier of the second resource to the list.
Dependencies are inferred from the claim text.