-
1.
公开(公告)号:US09680692B2
公开(公告)日:2017-06-13
申请号:US13748173
申请日:2013-01-23
Applicant: Facebook, Inc.
Inventor: Phillip Liu , Vishal Kathuria
CPC classification number: H04L41/0609 , H04L67/10
Abstract: Disclosed is a method and system for registering a recursive watch on a node in hierarchical data structure. Embodiments of the disclosed technique may include (i) receiving a request to register an event listener on a source node, the source node being one of a plurality of nodes that are related to each other in a hierarchy; (ii) registering the event listener on the source node, the event listener configured to notify a client of an occurrence of a first event in the source node; and (iii) if the source node has a descendant node in the hierarchy, setting the event listener to notify the client of an occurrence of a second event in the descendant node without requiring registration of another event listener on the descendant node. Each of the nodes may represent, for example, a logical partition of a storage device.