System and method for heterogeneous caching
First Claim
1. A system, comprising:
- a bean having a primary key;
a bean manager associated with the bean, the bean manager having a self-reference identifier; and
a key identifier for identifying the bean, the key identifier comprising the primary key and the self-reference identifier.
0 Assignments
0 Petitions
Accused Products
Abstract
The caching of heterogeneous bean sets has been improved from requiring each bean to have its own cache instance to caching the beans in a single cache. The beans can be identified by generating a unique identifier that is a combination of the bean'"'"'s primary key and a self-reference identifier of the bean manager associated with that bean. The average size of a bean set associated with a bean manager can be specified such that the cache allocates memory for that set based on the average size. A callback interface can also be used to shift knowledge of a bean life cycle back to the bean manager. This description is not intended to be a complete description of, or limit the scope of, the invention. Other features, aspects, and objects of the invention can be obtained from a review of the specification, the figures, and the claims.
-
Citations
21 Claims
-
1. A system, comprising:
-
a bean having a primary key;
a bean manager associated with the bean, the bean manager having a self-reference identifier; and
a key identifier for identifying the bean, the key identifier comprising the primary key and the self-reference identifier. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for heterogeneous bean caching, comprising:
-
a bean adapted to hold a data instance;
a bean manager associated with the bean and capable of managing a life-cycle of the bean;
a cache associated with the bean manager and capable of caching the bean, wherein the cache signals to bean manager to do operations related to the bean. - View Dependent Claims (9, 10, 11)
-
-
12. A system for heterogeneous bean caching, comprising:
-
a first set of beans;
a first bean manager associated with the first set of beans and capable of managing life-cycles of the first set of beans;
a second set of beans;
a second bean manager associated with the second set of beans and capable of managing life-cycles of the second set of beans; and
a cache associated with the first and second bean managers and capable of caching the first and second sets of beans. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
Specification