Caching system for path search optimization
First Claim
1. A computer-implemented method of locating classes in a class path, the method comprising:
- generating a cache of information relating to the classes in the class path;
creating a wrapper for selected elements in the class path to provide a level of indirection from application programming interfaces used by a class locator, the wrapper indirection level providing for different caches to be used for the selected elements;
requesting a search of the class path via the wrapper;
searching the cache to satisfy the requested search; and
displaying, on a computer monitor, classes and directories that satisfy the requested search.
2 Assignments
0 Petitions
Accused Products
Abstract
Location of classes is facilitated by caching information about classes in a class path. The cache is reconstructed when changes to the original information in the class path are detected. Selected elements in a class path can also be cached. These elements are selected as those which have associated mechanisms to provide notification of changes. Element selection criteria can be modified such that only class path elements that are least likely to be changed are cached, and for which changes are easy to detect, such as ZIP files. A class path manager is used to create caches for selected class path elements on instantiation of the path manager. The class path manager creates a wrapper for each element in the class path to provide a level of indirection when calls are made to determine the location of a class.
-
Citations
16 Claims
-
1. A computer-implemented method of locating classes in a class path, the method comprising:
-
generating a cache of information relating to the classes in the class path; creating a wrapper for selected elements in the class path to provide a level of indirection from application programming interfaces used by a class locator, the wrapper indirection level providing for different caches to be used for the selected elements; requesting a search of the class path via the wrapper; searching the cache to satisfy the requested search; and displaying, on a computer monitor, classes and directories that satisfy the requested search. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-implemented method of locating classes in a multi element class path, the method comprising:
-
generating a search request for desired classes within the multi element class path; forwarding the search request to a wrapper providing a level of indirection to search the appropriate class path for the search request; independently satisfying the request in association with each element in the class path, wherein at least two of the elements have at least two separate caches of information sufficient to satisfy the request for the at least two elements; and displaying, on a computer monitor, classes and directories that satisfy the request. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A computer-implemented method of creating caches for selected elements of a class path, the method comprising:
-
parsing the class path into names of elements; determining which elements are viable for caching; initiating creation of at least two caches for the selected elements and initiating creation of wrappers for each selected elements which is viable, the wrappers providing a level of indirection from application programming interfaces used by a class locator to search classes; and displaying, on a computer monitor, classes and directories that satisfy the search of the classes. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A computer readable storage medium having instructions stored thereon, which when executed, causes a computer to perform a method of locating classes in a multi element class path, the method comprising:
-
generating a search request for desired classes within the multi element class path; forwarding the search request to a wrapper providing a level of indirection to search the appropriate class path for the search request; independently satisfying the request in association with each element in the class path, wherein at least two of the elements have at least two separate caches of information sufficient to satisfy the request for the at least two elements, wherein changes to the element result in recreation of the cache; and displaying, on a computer monitor, classes and directories that satisfy the request. - View Dependent Claims (16)
-
Specification