Method, apparatus, and product for leasing of group membership in a distributed system
First Claim
Patent Images
1. A method, comprising:
- providing, to an activation object, a lease request for accessing a resource for a lease period;
receiving, from the activation object, a lease object for managing the lease; and
accessing the resource following receipt of the lease object.
0 Assignments
0 Petitions
Accused Products
Abstract
A system for leasing a group membership in a distributed processing system is provided. In accordance with this system, a remote object requests from an activation group a membership in the activation group for a period of time. Responsive to this request, the activation group determines an appropriate lease period during which time the remote object becomes a member of the activation group and runs in the same address space as other objects of the activation group.
-
Citations
74 Claims
-
1. A method, comprising:
-
providing, to an activation object, a lease request for accessing a resource for a lease period;
receiving, from the activation object, a lease object for managing the lease; and
accessing the resource following receipt of the lease object. - View Dependent Claims (2, 3, 4, 5)
invoking a renew method associated with the lease object; and
accessing the resource for an extended lease period based on the invocation.
-
-
3. The method of claim 1, wherein managing the lease comprises:
-
invoking a cancel method associated with the lease object; and
terminating access to the resource based on the invocation.
-
-
4. The method of claim 1, wherein receiving, from the activation object, a lease object for managing the lease further comprises:
notifying an activation daemon in response to receiving the lease object.
-
5. The method of claim 4, wherein notifying the activation daemon comprises:
providing a copy of the lease object to the activation daemon.
-
6. A lease management method performed by an activation daemon, comprising:
-
receiving, from a client, a request to invoke a method on an object associated with an activation group;
determining whether a lease granted to the object expired; and
invoking the method based on the determination. - View Dependent Claims (7, 8, 9, 10, 11, 12)
associating the object with a new activation group based on a determination that the lease expired.
-
-
8. The method of claim 7, wherein placing the object in a new activation group further comprises:
loading the object into an address space associated with a virtual machine that corresponds to the new activation group.
-
9. The method of claim 6, wherein invoking the method based on the determination comprises:
-
determining whether the activation group is running in a virtual machine; and
loading the object into an address space associated with the virtual machine.
-
-
10. The method of claim 9, wherein loading the object comprises:
starting a virtual machine for the activation group based on the determination that the activation group is not running in a virtual machine.
-
11. The method of claim 8, wherein determining whether a lease granted to the object expired comprises:
determining whether a lease granted to the object expired based on a lease object provided by the object.
-
12. The method of claim 11, wherein the lease object includes a method for determining a lease period associated with the lease.
-
13. A lease management method performed by an activation object, comprising:
-
receiving a request for a lease for accessing a resource associated with an activation group corresponding to the activation object;
validating the lease request; and
providing an object based on a result of the validation. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
providing an exception object based on a determination that the exact lease request includes an unacceptable requested lease period.
-
-
16. The method of claim 14, wherein providing an object comprises:
providing a lease object based on a determination that the exact lease request includes an acceptable requested lease period.
-
17. The method of claim 13, wherein providing an object comprises:
providing a lease object based on the determination that the lease request is proper.
-
18. The method of claim 17, wherein the lease object includes methods for managing the lease.
-
19. The method of claim 17, wherein the lease object may be used by at least one of an object that provided the lease request and an activation daemon.
-
20. The method of claim 13, wherein providing an object comprises:
- providing either an exception object or a lease object based on the determination.
-
21. A computer-readable medium including instructions for performing a method, when executed by a processor, the method comprising:
-
providing, to an activation object, a lease request for accessing a resource for a lease period;
receiving, from the activation object, a lease object for managing the lease; and
accessing the resource following receipt of the lease object. - View Dependent Claims (22, 23, 24, 25)
invoking a renew method associated with the lease object; and
accessing the resource for an extended lease period based on the invocation.
-
-
23. The computer-readable medium of claim 21, wherein managing the lease comprises:
-
invoking a cancel method associated with the lease object; and
terminating access to the resource based on the invocation.
-
-
24. The computer-readable medium of claim 21, wherein receiving, from the activation object, a lease object for managing the lease further comprises:
notifying an activation daemon in response to receiving the lease object.
-
25. The computer-readable medium of claim 24, wherein notifying the activation daemon comprises:
providing a copy of the lease object to the activation daemon.
-
26. A computer-readable medium including instructions for performing a method, when executed by an activation daemon, the method comprising:
-
receiving, from a client, a request to invoke a method on an object associated with an activation group;
determining whether a lease granted to the object expired; and
invoking the method based on the determination. - View Dependent Claims (27, 28, 29, 30, 31, 32)
associating the object with a new activation group based on a determination that the lease expired.
-
-
28. The computer-readable medium of claim 27, wherein placing the object in a new activation group further comprises:
loading the object into an address space associated with a virtual machine that corresponds to the new activation group.
-
29. The computer-readable medium of claim 26, wherein invoking the method based on the determination comprises:
-
determining whether the activation group is running in a virtual machine; and
loading the object into an address space associated with the virtual machine.
-
-
30. The computer-readable medium of claim 29, wherein loading the object comprises:
starting a virtual machine for the activation group based on the determination that the activation group is not running in a virtual machine.
-
31. The computer-readable medium of claim 26, wherein determining whether a lease granted to the object expired comprises:
determining whether a lease granted to the object expired based on a lease object provided by the object.
-
32. The computer-readable medium of claim 31, wherein the lease object includes a method for determining a lease period associated with the lease.
-
33. A computer-readable medium including instructions for performing a method, when executed by an activation object, the method comprising:
-
receiving a request for a lease for accessing a resource associated with an activation group corresponding to the activation object;
validating the lease request; and
providing an object based on a result of the validation. - View Dependent Claims (34, 35, 36, 37, 38, 39, 40)
determining whether the lease request includes an exact lease request.
-
-
35. The computer-readable medium of claim 34, wherein providing an object comprises:
providing an exception object based on a determination that the exact lease request includes an unacceptable requested lease period.
-
36. The computer-readable medium of claim 34, wherein providing an object comprises:
providing a lease object based on a determination that the exact lease request includes an acceptable requested lease period.
-
37. The computer-readable medium of claim 33, wherein providing an object comprises:
providing a lease object based on the determination that the lease request is proper.
-
38. The computer-readable medium of claim 37, wherein the lease object includes methods for managing the lease.
-
39. The computer-readable medium of claim 37, wherein the lease object may be used by at least one of an object that provided the lease request and an activation daemon.
-
40. The computer-readable medium of claim 33, wherein providing an object comprises:
providing either an exception object or a lease object based on the determination.
-
41. A system, comprising:
-
means for providing, to an activation object, a request for a lease for accessing a resource for a lease period;
means for receiving, from the activation object, a lease object for managing the lease; and
means for accessing the resource in response to receiving the lease object. - View Dependent Claims (42, 43, 44, 45)
means for invoking a renew method included in the lease object; and
means for accessing the resource for an extended lease period based on the invocation.
-
-
43. The system of claim 41, wherein the means for managing the lease comprises:
-
means for invoking a cancel method included in the lease object; and
means for terminating access to the resource based on the invocation.
-
-
44. The system of claim 41, wherein the means for receiving, from the activation object, a lease object for managing the lease further comprises:
means for notifying an activation daemon in response to receiving the lease object.
-
45. The system of claim 44, wherein the means for notifying the activation daemon comprises:
means for providing a copy of the lease object to the activation daemon.
-
46. An activation daemon, comprising:
-
means for receiving, from a client, a request to invoke a method on an object associated with an activation group;
means for determining whether a lease granted to the object expired; and
means for invoking the method based on the determination. - View Dependent Claims (47, 48, 49, 50, 51, 52)
means for associating the object with a new activation group based on the determination that the lease expired.
-
-
48. The system of claim 47, wherein the means for placing the object in a new activation group further comprises:
means for loading the object into an address space associated with a virtual machine that corresponds to the new activation group.
-
49. The system of claim 46, wherein the means for invoking the method based on the determination comprises:
-
means for determining whether the activation group is running in a virtual machine; and
means for loading the object into an address space associated with the virtual machine.
-
-
50. The system of claim 49, wherein the means for loading the object comprises:
means for starting a virtual machine for the activation group based on the determination that the activation group is not running in a virtual machine.
-
51. The system of claim 46, wherein the means for determining whether a lease granted to the object expired comprises:
means for determining whether a lease granted to the object expired based on a lease object provided by the object.
-
52. The system of claim 51, wherein the lease object includes a method for determining a lease period associated with the lease.
-
53. An activation object, comprising:
-
means for receiving a request for a lease for accessing a resource associated with an activation group corresponding to the activation object;
means for determining whether the lease request is proper; and
means for providing an object based on the determination. - View Dependent Claims (54, 55, 56, 57, 58, 59, 60)
means for determining whether the lease request includes an exact lease request.
-
-
55. The system of claim 54, wherein the means for providing an object comprises:
means for providing an exception object based on a determination that the exact lease request includes an unacceptable requested lease period.
-
56. The system of claim 54, wherein the means for providing an object comprises:
means for providing a lease object based on a determination that the exact lease request includes an acceptable requested lease period.
-
57. The system of claim 53, wherein the means for providing an object comprises:
means for providing a lease object based on the determination that the lease request is proper.
-
58. The system of claim 57, wherein the lease object includes methods for managing the lease.
-
59. The system of claim 57, wherein the lease object may be used by at least one of an object that provided the lease request and an activation daemon.
-
60. The system of claim 53, wherein the means for providing an object comprises:
means for providing either an exception object or a lease object based on the determination.
-
61. A system, comprising:
-
a client for providing a request for invoking a method; and
a server for invoking the method on an object based on the request, the server including;
a first process for activating the object based on a relationship between the object and an activation group, and a second process associated with an activation group for managing one or more leases corresponding to the activation group. - View Dependent Claims (62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74)
-
Specification