Method, apparatus, and system for applying timed operations to non-timed functions
Abstract
An encapsulation module encapsulates a function in a timed method adapter. A caller calls the timed method adapter in place of the function. The timed method adapter calls a set invoker. The set invoker saves an argument, calls an invoke thread, and returns to the timed method adapter. The invoke thread invokes the function and passes the function an object and the argument. The timed method adapter further waits for an execution result from the function and monitors for an expiration of a timeout. If the function returns the execution result before expiration of the timeout, the timed method adapter returns the execution result to the caller. If the timeout expires before the function returns the execution result, the timed method adapter directs the invoke thread to cancel the function and returns a timeout exception to the caller.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory 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: discover, by parsing source code, a caller calling a function, wherein the function does not perform timed operations; receive the function; reflect an object and an argument for the function; encapsulate then function in a timed method adapter; call the timed method adapter in place of the function from the caller, passing the t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
Non-Patent Literature (2)
- Mitch Cherniack, Hari Balakrishnan, Magdalena Balazinska Don Carney, "Scalable Distributed Stream Processing", 2003.
- Tom Goodale et al., A Simple API for Grid Applications (SAGA), SAGA-CORE-WG, Version: 1.0 Jan. 15, 2008.