Event driven transaction state management with single cache for persistent framework
AssigneeSeiko Epson Corporation
InventorsJason Harris, Chia-Hsin Li
Life of this patent
Estimating the term…
Abstract
A method for managing transactions associated with a persistent framework in a multi-thread environment is provided. The method initiates with associating each individual thread with an event queue. Then an event is added to a first event queue associated with a respective thread. The event is associated with a persistent object. Next, write access to the persistent object is prevented to all threads except the respective thread. Then, the event in the first event queue associated with the persistent object is executed. A computer readable media and a system capable of maintaining transaction states of persistent objects are also provided.
Claims10
A computer implemented method for managing transactions associated with a persistent framework in a multi-thread environment, comprising:
- associating each individual thread with a corresponding event queue;
- adding an event to a first event queue associated with a respective thread, the event associated with a persistent object;
- preventing write access to the persistent object to all threads except the respective thread;
- and
- executing the event in the first event queue associated with the persistent object.
A computer implemented method for maintaining transaction states of persistent objects in a multi-user environment, comprising:
- receiving a request to modify a persistent object stored in a main cache;
- copying the persistent object from the main cache to an event queue associated with the request;
- storing a modified persistent object and a corresponding transaction state with the persistent object in the event queue;
- writing the modified persistent object to the main cache and a persistent storage;
- and
- removing the persistent object from the main cache and the persistent storage.
Dependencies are inferred from the claim text.