Apparatus, system, and method for converting a synchronous interface into an asynchronous interface
First Claim
1. An apparatus to convert a synchronous interface into an asynchronous interface, the apparatus comprising:
- a receive module comprising executable code stored on a storage device, executed by a processor, and configured to receive a request for a transaction from a synchronous requestor;
a generate module comprising executable code stored on the storage device, executed by the processor, and configured to generate a delaying object and a forwarding interface compatible with a requested return type, wherein the delaying object is configured as an IOU object defined by a JAVA®
IOU data class and performs a standby( ) operation indicating that the transaction is in process; and
a return module comprising executable code stored on the storage device, executed by the processor, and configured to return the delaying object with the forwarding interface to the requestor;
a satisfy module comprising executable code stored on the storage device, executed by the processor, and configured to satisfy the request for the transaction from the synchronous requestor by recognizing the delaying object as a completed transaction until the transaction is available for completion wherein the requestor continues to process other transactions until the transaction is available for completion;
a notification module comprising executable code stored on the storage device, executed by the processor, and configured to notify the synchronous requestor via the delaying object when the transaction is available for completion; and
an initiation module comprising executable code stored on the storage device, executed by the processor, and configured to initiate a second request for the transaction via the delaying object when the transaction is available for completion.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus, system, and method are disclosed for converting a synchronous interface into an asynchronous interface. The apparatus includes a receive module, a generate module, and a return module. The receive module receives a request for a transaction from a synchronous requester, the generate module generates a delaying object and a forwarding interface compatible with the requested return type, and the return module returns the delaying object with the forwarding interface to the requester. Additionally, services for implementing such an apparatus, system, and method are disclosed. Implementation of the apparatus, system, and method provide for increased computing performance, reduced application run time, and decreased usage of computing resources.
16 Citations
16 Claims
-
1. An apparatus to convert a synchronous interface into an asynchronous interface, the apparatus comprising:
-
a receive module comprising executable code stored on a storage device, executed by a processor, and configured to receive a request for a transaction from a synchronous requestor; a generate module comprising executable code stored on the storage device, executed by the processor, and configured to generate a delaying object and a forwarding interface compatible with a requested return type, wherein the delaying object is configured as an IOU object defined by a JAVA®
IOU data class and performs a standby( ) operation indicating that the transaction is in process; anda return module comprising executable code stored on the storage device, executed by the processor, and configured to return the delaying object with the forwarding interface to the requestor; a satisfy module comprising executable code stored on the storage device, executed by the processor, and configured to satisfy the request for the transaction from the synchronous requestor by recognizing the delaying object as a completed transaction until the transaction is available for completion wherein the requestor continues to process other transactions until the transaction is available for completion; a notification module comprising executable code stored on the storage device, executed by the processor, and configured to notify the synchronous requestor via the delaying object when the transaction is available for completion; and an initiation module comprising executable code stored on the storage device, executed by the processor, and configured to initiate a second request for the transaction via the delaying object when the transaction is available for completion. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus to convert a synchronous interface into an asynchronous interface, the apparatus comprising:
-
a requesting module comprising executable code stored on a storage device, executed by a processor, and configured to send a request for a transaction; a receiving module comprising executable code stored on the storage device, executed by the processor, and configured to receive a delaying object via an associated forwarding interface, wherein the delaying object is configured as an IOU object defined by a JAVA®
IOU data class and performs a standby( ) operation indicating that the transaction is in process;a processing module comprising executable code stored on the storage device, executed by the processor, and configured to continue processing tasks in response to receiving the delaying object, receive a satisfaction for the request by recognizing the delaying object as a completed transaction until the transaction is available for completion, receive a notification via the delaying object when the transaction is available for completion, and in response to an initiation, make a second request for the transaction via the delaying object when the transaction is available for completion.
-
-
6. A system to convert a synchronous interface into an asynchronous interface, the system comprising:
-
a synchronous requestor configured to send a request for a transaction; and a responder configured to receive the request for the transaction from a synchronous requestor, generate a delaying object and a forwarding interface compatible with a requested return type, wherein the delaying object is configured as an IOU object defined by a JAVA®
IOU data class and performs a standby( ) operation indicating that the transaction is in process, return the delaying object with the forwarding interface to the requestor, and satisfy the request for the transaction from the synchronous requestor by the synchronous requestor recognizing the delaying object as a completed transaction until the transaction is available for completion wherein the requestor continues to process other transactions until the transaction is available for completion;the synchronous requester further configured to receive the delaying object with the associated forwarding interface, and continue to process tasks in response to receiving the delaying object and the satisfaction of the transaction request; and the responder further configured to notify the synchronous requestor via the delaying object when the transaction is available for completion and initiate a second request for the transaction via the delaying object when the transaction is available for completion. - View Dependent Claims (7, 8, 9)
-
-
10. A program of executable code stored on a storage device, executed by a processor, and configured to perform operations for converting a synchronous interface to an asynchronous interface, the operations comprising:
-
receiving a request for a transaction from a synchronous requestor; generating a delaying object and a forwarding interface compatible with a requested return type, wherein the delaying object is configured as an IOU object defined by a JAVA®
IOU data class and performs a standby( ) operation indicating that the transaction is in process;returning the delaying object with the forwarding interface to the requestor; satisfying the request for the transaction from the synchronous requestor by recognizing the delaying object as a completed transaction until the transaction is available for completion wherein the requestor continues to process other transactions until the transaction is available for completion; notifying the synchronous requestor via the delaying object when the transaction is available for completion; and initiating a second request for the transaction via the delaying object when the transaction is available for completion. - View Dependent Claims (11, 12, 13)
-
-
14. A method for providing a service of converting a synchronous interface into an asynchronous interface, the method comprising:
-
receiving a request for a transaction from a synchronous requestor; generating a delaying object and a forwarding interface compatible with a requested return type, wherein the delaying object is configured as an IOU object defined by a JAVA®
IOU data class and performs a standby( ) operation indicating that the transaction is in process; andreturning the delaying object with the forwarding interface to the requestor; satisfying the request for the transaction from the synchronous requestor by recognizing the delaying object as a completed transaction until the transaction is available for completion wherein the requestor continues to process other transactions until the transaction is available for completion; notifying the synchronous requestor via the delaying object when the transaction is available for completion; and initiating a second request for the transaction via the delaying object when the transaction is available for completion. - View Dependent Claims (15)
-
-
16. An apparatus to convert a synchronous interface into an asynchronous interface, the apparatus comprising:
-
means for receiving a request for a transaction from a synchronous requestor, the receiving means comprising executable code stored on a storage device and executed by a processor; means for generating a delaying object and a forwarding interface compatible with a requested return type, wherein the delaying object is configured as an IOU object defined by a JAVA®
IOU data class and performs a standby( ) operation indicating that the transaction is in process, the generating means comprising executable code stored on the storage device and executed by the processor;means for returning the delaying object with the forwarding interface to the requestor, the returning means comprising executable code stored on the storage device and executed by the processor; means for satisfying the request for the transaction from the synchronous requestor by recognizing the delaying object as a completed transaction until the transaction is available for completion wherein the requestor continues to process other transactions until the transaction is available for completion, the satisfying means comprising executable code stored on the storage device and executed by the processor; means for notifying the synchronous requestor via the delaying object when the transaction is available for completion, the notifying means comprising executable code stored on the storage device and executed by the processor; and means for initiating a second request for the transaction via the delaying object when the transaction is available for completion, the initiating means comprising executable code stored on the storage device and executed by the processor.
-
Specification