rql_download.hooks.PostCommitFuseOperation

class rql_download.hooks.PostCommitFuseOperation(cnx, **kwargs)[source]

Start/update a fuse process after a CWSearch entity is commited.

Methods

__init__(cnx, **kwargs)
critical(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘CRITICAL’.
debug(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘DEBUG’.
error(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘ERROR’.
exception(msg, *args, **kwargs) Convenience method for logging an ERROR with exception information.
handle_event(event) delegate event handling to the opertaion
info(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘INFO’.
insert_index() return the index of the latest instance which is not a
postcommit_event() Define the FuseOperation postcommit operation.
precommit_event() the observed connections set is preparing a commit
register(cnx)
revertprecommit_event() an error went when pre-commiting this operation or a later one
rollback_event() the observed connections set has been rolled back
warning(msg, *args, **kwargs) Log ‘msg % args’ with severity ‘WARNING’.

Attributes

session
__module__ = 'rql_download.hooks'
postcommit_event()[source]

Define the FuseOperation postcommit operation.