Clean-up of orphaned server contexts
First Claim
1. A method for detecting an orphaned server context, comprising:
- (a) maintaining a collection of outstanding server objects;
(b) creating a list of contexts for each of the outstanding server objects;
(c) adding to the list a compilation of clients who are interested in each of the outstanding server objects;
(d) recording on the list a duration of time since the clients invoked a method accessing each of the contexts of the outstanding server objects;
(e) examining the list at predetermined intervals for determining whether a predetermined amount of time has passed since each of the objects has been accessed;
(f) selecting contexts that have not been accessed in the predetermined amount of time; and
(g) sending information to the clients identifying the contexts that have not been accessed in the predetermined amount of time.
5 Assignments
0 Petitions
Accused Products
Abstract
A system, method and article of manufacture are provided for detecting an orphaned server context. A collection of outstanding server objects is maintained and a list of contexts is created for each of the outstanding server objects. A compilation of clients who are interested in each of the outstanding server objects are added to the list. Recorded on the list is a duration of time since the clients invoked a method accessing each of the contexts of the outstanding server objects. The list is examined at predetermined intervals for determining whether a predetermined amount of time has passed since each of the objects has been accessed. Contexts that have not been accessed in the predetermined amount of time are selected and information is sent to the clients identifying the contexts that have not been accessed in the predetermined amount of time.
-
Citations
19 Claims
-
1. A method for detecting an orphaned server context, comprising:
-
(a) maintaining a collection of outstanding server objects;
(b) creating a list of contexts for each of the outstanding server objects;
(c) adding to the list a compilation of clients who are interested in each of the outstanding server objects;
(d) recording on the list a duration of time since the clients invoked a method accessing each of the contexts of the outstanding server objects;
(e) examining the list at predetermined intervals for determining whether a predetermined amount of time has passed since each of the objects has been accessed;
(f) selecting contexts that have not been accessed in the predetermined amount of time; and
(g) sending information to the clients identifying the contexts that have not been accessed in the predetermined amount of time. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program embodied on a computer readable medium for detecting an orphaned server context, comprising:
-
(a) a code segment that maintains a collection of outstanding server objects;
(b) a code segment that creates a list of contexts for each of the outstanding server objects;
(c) a code segment that adds to the list a compilation of clients who are interested in each of the outstanding server objects;
(d) a code segment that records on the list a duration of time since the clients invoked a computer program accessing each of the contexts of the outstanding server objects;
(e) a code segment that examines the list at predetermined intervals for determining whether a predetermined amount of time has passed since each of the objects has been accessed;
(f) a code segment that selects contexts that have not been accessed in the predetermined amount of time; and
(g) a code segment that sends information to the clients identifying the contexts that have not been accessed in the predetermined amount of time. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for detecting an orphaned server context, comprising:
-
(a) software that maintains a collection of outstanding server objects;
(b) software that creates a list of contexts for each of the outstanding server objects;
(c) software that adds to the list a compilation of clients who are interested in each of the outstanding server objects;
(d) software that records on the list a duration of time since the clients invoked a system accessing each of the contexts of the outstanding server objects;
(e) software that examines the list at predetermined intervals for determining whether a predetermined amount of time has passed since each of the objects has been accessed;
(f) software that selects contexts that have not been accessed in the predetermined amount of time; and
(g) software that sends information to the clients identifying the contexts that have not been accessed in the predetermined amount of time. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A method for cleaning-up orphaned server contexts, comprising:
-
(a) providing a plurality of objects in an object-oriented computer system;
(b) providing a plurality of server contexts for use by a plurality of processes;
(c) creating a server object context for each of the plurality of objects as each object comes into use in one of the plurality of server contexts; and
(d) identifying for clean-up one of the plurality of server object contexts in one of the server contexts after said server object context is not accessed for a predetermined period of time.
-
Specification