Documentation Home
MySQL Utilities 1.5 Manual
Related Documentation Download this Manual
PDF (US Ltr) - 1.5Mb
PDF (A4) - 1.5Mb
HTML Download (TGZ) - 289.5Kb
HTML Download (Zip) - 301.7Kb


MySQL Utilities 1.5 Manual  /  ...  /  Event Commands

8.4.3 Event Commands

The event commands are used to define events for tailoring the Fabric system to your needs for controlling applications.

  • Command: event trigger: Trigger an event.

    Usage:
      mysqlfabric  event trigger <event> [--locks=LOCKS] [--args=ARGS]          
                   [--kwargs=KWARGS]                                            
    
    Parameters:
      <event>  Event's identification. Accepted values: String                  
    
    Options:
      --locks=LOCKS    By default None.                                         
      --args=ARGS      Event's non-keyworded arguments. By default None.        
      --kwargs=KWARGS  Event's keyworded arguments. By default None.            
    
    Return:
      :class:`CommandResult` instance with UUID of the procedures that were
      triggered.
    
  • Command: event wait_for_procedures: Wait until procedures, which are identified through their uuid in a list and separated by comma, finish their execution. If a procedure is not found an error is returned.

    Usage:
      mysqlfabric  event wait_for_procedures [--proc_uuids=PROC_UUIDS]          
    
    Options:
      --proc_uuids=PROC_UUIDS                                                   
                Iterable with procedures' UUIDs. By default None.  
    

User Comments
Sign Up Login You must be logged in to post a comment.