Managing a list of items stored in a cache
Assigneesalesforce.com, inc.
InventorThomas E. Jones
Life of this patent
Estimating the term…
Abstract
A processor can receive a request for a list of items. The request can include a group identifier and search criteria. The search criteria can be configured to return the list of items. The processor can produce, using the group identifier and in response to the request, a determination about a location of a master key associated with the group identifier. The processor can produce, in response to the master key being in the cache, a lookup key. The lookup key can include the master key, the group identifier, and a form of the search criteria. The processor can produce, using a form of the lookup key, a determination about a location of the list of items. The processor can retrieve, in response to the list of items being in the cache, the list of items from the cache.
Claims20
A method for retrieving a list of items from a cache, the method comprising:
- receiving, by a processor, a request for the list of items, the request including a group identifier and search criteria, the search criteria configured to return the list of items;
- producing, by the processor, using the group identifier and in response to the request, a determination about a location of a master key associated with the group identifier;
- producing, by the processor in response to the master key being located in the cache, a lookup key, the lookup key including the master key, the group identifier, and a form of the search criteria;
- producing, by the processor using a form of the lookup key, a determination about a location of the list of items;
- and
- retrieving, by the processor in response to the list of items being located in the cache, the list of items from the cache.
A non-transitory computer-readable medium storing computer code for controlling a processor to cause the processor to retrieve a list of items from a cache, the computer code including instructions to cause the processor to:
- receive a request for the list of items, the request including a group identifier and search criteria, the search criteria configured to return the list of items;
- produce, using the group identifier and in response to the request, a determination about a location of a master key associated with the group identifier;
- produce, in response to the master key being located in the cache, a lookup key, the lookup key including the master key, the group identifier, and a form of the search criteria;
- produce, using a form of the lookup key, a determination about a location of the list of items;
- and
- retrieve, in response to the list of items being located in the cache, the list of items from the cache.
A system for retrieving a list of items from a cache, the system comprising:
- the cache;
- and
- a processor configured to:
- receive a request for the list of items, the request including a group identifier and search criteria, the search criteria configured to return the list of items;
- produce, using the group identifier and in response to the request, a determination about a location of a master key associated with the group identifier;
- produce, in response to the master key being located in the cache, a lookup key, the lookup key including the master key, the group identifier, and a form of the search criteria;
- produce, using a form of the lookup key, a determination about a location of the list of items;
- and
- retrieve, in response to the list of items being located in the cache, the list of items from the cache.
A method for managing a list of items stored in a cache, the method comprising:
- determining, by a processor, that an element on the list of items stored in the cache is invalid;
- determining, by the processor in response to a determination that the element on the list of items stored in the cache is invalid, a revised list of items associated with the element on the list of items;
- determining, by the processor in response to a determination of the revised list of items associated with the element on the list of items, a master key associated with the list of items;
- and
- removing, by the processor in response to a determination of the master key associated with the list of items, the master key from the cache.
A non-transitory computer-readable medium storing computer code for controlling a processor to cause the processor to manage a list of items stored in a cache, the computer code including instructions to cause the processor to:
- determine that an element on the list of items stored in the cache is invalid;
- determine, in response to a determination that the element on the list of items stored in the cache is invalid, a revised list of items associated with the element on the list of items;
- determine, in response to a determination of the revised list of items associated with the element on the list of items, a master key associated with the list of items;
- and
- remove, in response to a determination of the master key associated with the list of items, the master key from the cache.
A system for managing a list of items stored a cache, the system comprising:
- the cache;
- and
- a processor configured to:
- determine that an element on the list of items stored in the cache is invalid;
- determine, in response to a determination that the element on the list of items stored in the cache is invalid, a revised list of items associated with the element on the list of items;
- determine, in response to a determination of the revised list of items associated with the element on the list of items, a master key associated with the list of items;
- and
- remove, in response to a determination of the master key associated with the list of items, the master key from the cache.
Dependencies are inferred from the claim text.