发明名称 |
TRANSACTION CAPABLE QUEUING |
摘要 |
Transactional capable queuing is provided. A queue having an ordered list of messages is provided. A get cursor operation is provided within the queue to point to a current starting place for a getting application to start searching for a message to retrieve. A first lock is provided for putting operations, in response to there being more than one putting application, to ensure only one application is putting to the queue at a time. A second lock is provided for getting operations, in response to there being more than one getting application, to ensure that only one application is getting from the queue at a time. Putting applications and getting applications are synchronized to check and update the get cursor operation. |
申请公布号 |
US2014289744(A1) |
申请公布日期 |
2014.09.25 |
申请号 |
US201414168743 |
申请日期 |
2014.01.30 |
申请人 |
International Business Machines Corporation |
发明人 |
Edwards Ian C.;Levell Jonathan;Lobban Trevor;Schofield Andrew J. |
分类号 |
G06F9/54;G06F9/52 |
主分类号 |
G06F9/54 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for transactional capable queuing, comprising:
providing a queue having an ordered list of messages; providing a get cursor operation within the queue to point to a current starting place for a getting application to start searching for a message to retrieve; providing a first lock for putting operations, in response to there being more than one putting application, to ensure only one application is putting to the queue at a time; providing a second lock for getting operations, in response to there being more than one getting application, to ensure that only one application is getting from the queue at a time; and synchronizing between putting applications and getting applications to check and update the get cursor operation. |
地址 |
Armonk NY US |