Event driven transaction state management with single cache for persistant framework
First Claim
1. A method for managing transactions associated with a persistent framework in a multi-thread environment, comprising:
- associating each individual thread with an 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.
2 Assignments
0 Petitions
Accused Products
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.
-
Citations
31 Claims
-
1. A method for managing transactions associated with a persistent framework in a multi-thread environment, comprising:
-
associating each individual thread with an 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. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A 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. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method for maintaining transaction states of persistent objects capable of being accessed by a plurality of clients, comprising:
-
associating each one of a plurality of clients with an event queue, each event queue associated with a single cache of a persistent framework;
receiving a request to modify a persistent object to a modified persistent object, the persistent object stored in the single cache;
storing the modified persistent object, a transaction state indicator and a copy of the persistent object in a respective event queue in a manner to preserve an order of successive modifications of additional persistent objects stored in the respective event queue;
preventing write access to the persistent object stored in the single cache for a remainder of the plurality of clients; and
committing the modified persistent object in the respective event queue to the single cache. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computer program product configured to be executed on a computer system, comprising:
-
program instructions for associating each individual thread with an event queue;
program instructions for adding an event to a first event queue associated with a respective thread, the event associated with a persistent object;
program instructions for preventing write access to the persistent object for all threads except the respective thread; and
program instructions for executing the event in the first event queue associated with the persistent object. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A computer readable media having program instructions for maintaining transaction states of persistent objects capable of being accessed by a plurality of clients, comprising:
-
program instructions for associating each one of a plurality of clients with an event queue, each event queue associated with a single cache of a persistent framework;
program instructions for requesting modification of a persistent object to a modified persistent object, the persistent object stored in the single cache;
program instructions for storing the modified persistent object, a transaction state indicator and a copy of the persistent object in a respective event queue in a manner to preserve an order of successive modifications of additional persistent objects stored in the respective event queue;
program instructions for preventing write access to the persistent object stored in the single cache; and
program instructions for committing the modified persistent object in the respective event queue to the single cache. - View Dependent Claims (22, 23, 24, 25)
-
-
26. A system capable of maintaining transaction states of persistent objects, comprising:
-
a persistent storage unit;
a server in communication with the persistent storage unit, the server including at least one central processing unit (CPU), the at least one CPU including a main cache configured to store persistent objects, the main cache associated with a plurality of event queues, each of the plurality of event queues associated with a separate thread, each of the plurality of event queues further configured to store data, the data including copies of each of the persistent objects from the main cache, modifications corresponding to respective copies of the persistent objects, and transaction states corresponding to each of the copies of the persistent objects, wherein a single event queue is enabled to allow execution of at least a subset of the modifications stored therein. - View Dependent Claims (27, 28, 29, 30, 31)
-
Specification