-
公开(公告)号:US10831783B2
公开(公告)日:2020-11-10
申请号:US15496983
申请日:2017-04-25
Applicant: salesforce.com, inc.
Inventor: Xiaoyu Xie , Roojuta Lalani , Rasik Phalak
Abstract: A method and system for updating nodes in a hierarchical data structure is described. The system receives an update to a first node representing a record in a hierarchical data structure. The system determines at least one other node that needs updating based on the update to the first node. The system compares the number of nodes that need updating based upon the update to the first node to a maximum number to determine whether the number of nodes that need updating is less than, equal to and greater than the maximum number. The system performs a synchronous update of the nodes that need updating in response to a determination that the number of nodes is less than or equal to the maximum number and an asynchronous update of the nodes that need updating in response to a determination that the number of nodes is greater than the maximum number.
-
公开(公告)号:US10754831B2
公开(公告)日:2020-08-25
申请号:US15496894
申请日:2017-04-25
Applicant: salesforce.com, inc.
Inventor: Xiaoyu Xie , Roojuta Lalani , Rasik Phalak
Abstract: A method and system for generating a hierarchical data structure is described. The hierarchical data structure is comprised of a plurality of nodes, wherein each node represents a record. The system monitors the generation of the hierarchical data structure to determine if the number of nodes in the hierarchical data structure exceeds a predetermined maximum number of nodes for the hierarchical data structure. The maximum number of nodes is independent of a width and a height of the hierarchical data structure. The system generates a notification in response to a determination that the number of nodes in the hierarchical data structure exceeds the maximum number of nodes.
-