×

Performing an action in response to a file system event

  • US 8,176,007 B2
  • Filed: 02/11/2011
  • Issued: 05/08/2012
  • Est. Priority Date: 12/15/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • storing a first event handler that specifies a first method to be performed prior to an occurrence of a file system event of a first event type relative to one or more nodes in a file system, wherein execution of the first method causes a first action to be performed on a first database object;

    storing a second event handler that specifies a second method to be performed after an occurrence of a file system event of the first event type relative to the one or more nodes in the file system, wherein execution of the second method causes a second action to be performed on a second database object;

    storing one or more event handlers other than the first event handler and the second event handler, wherein the one or more other event handlers correspond to one or more event types other than the first event type;

    a server detecting that execution of a received file system command will cause a particular file system event of the first event type relative to the one or more nodes in the file system;

    in response to the server detecting that the received file system command will cause the particular file system event of the first event type relative to the one or more nodes in the file system;

    (a) the server adding the particular file system event to a list of file system events to occur, and (b) the server invoking the first method prior to the occurrence of the particular file system event; and

    in response to and after the occurrence of the particular file system event, the server invoking the second method;

    wherein the first and second actions differ from the particular file system event;

    wherein the first event handler, the second event handler, and the one or more other event handlers are stored in a configuration file, and wherein the configuration file contains an indication of whether a method corresponding to an event identifier is to be performed before or after the occurrence of a file system event;

    wherein the method is performed by one or more computing devices.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×