def _get_dispatcher(cls):
        """
        Return a dispatcher class which is used for dispatching triggers.
        """
        # Late import to avoid very expensive in-direct jsonschema import (~1 second) when this
        # function is not called / used
        from st2common.transport.reactor import TriggerDispatcher

        if not cls.dispatcher:
            cls.dispatcher = TriggerDispatcher(LOG)

        return cls.dispatcher

        Return a dispatcher class which is used for dispatching triggers.
        
st2common/st2common/persistence/base.py