Timeout management method and equipment and computer readable storage medium
The invention discloses a timeout management method. The method comprises the steps: service types capable of being requested and called by a client are acquired, different timeout chains are built for different types of services, and a corresponding timeout time is set for each timeout chain; chain...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a timeout management method. The method comprises the steps: service types capable of being requested and called by a client are acquired, different timeout chains are built for different types of services, and a corresponding timeout time is set for each timeout chain; chain head nodes of all the timeout chains are associated through a preset ordered data structure to forma chain head tree; and timeout management requested by the client is executed according to the built timeout chains and the chain head tree, wherein timeout management comprises the steps of inserting event nodes into the timeout chains, deleting the event nodes in the timeout chains and adjusting the structure of the chain head tree. The invention further discloses timeout management equipment and a computer readable storage medium. According to the timeout management method and equipment and the computer readable storage medium, the time complexity of managing each requested timeout time can be reduced.
本发明公开了种超时管理 |
---|