Applying timed operations to non-timed functions
AssigneeInternational Business Machines Corporation
InventorsZhong P. Wang, Matthew J. Ward
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsZhong P. Wang, Matthew J. Ward
Estimating the term…
For applying timed operations to non-timed functions, a computer causes the computer to discover, by parsing source code, a caller calling a function. The function does not perform timed operations. The computer further encapsulates the function in a timed method adapter and calls the timed method adapter in place of the function from the caller, passing the timed method adapter an object and an argument for the function. The computer further calls an invoke thread from the set invoker and returns from the set invoker to the timed method adapter. The computer waits for an execution result from the function at the timed method adapter, monitoring for an expiration of a timeout, and invokes the function from the invoke thread, passing the function the object and the argument.
A computer readable storage medium comprising a computer readable program stored on a tangible storage device for applying timed operations to non-timed functions, wherein the computer readable program when executed on a computer causes the computer to:
An apparatus comprising:
A system comprising:
A method for deploying computer infrastructure, comprising integrating a computer readable storage medium tangibly embodying a computer readable program into a computing system, wherein the program in combination with the computing system performs the following:
Dependencies are inferred from the claim text.