Interface humhub\modules\queue\interfaces\ExclusiveJobInterface

Implemented byhumhub\modules\search\jobs\DeleteDocument, humhub\modules\search\jobs\RebuildIndex, humhub\modules\search\jobs\UpdateDocument, humhub\modules\user\jobs\DeleteUser, humhub\modules\user\jobs\SoftDeleteUser

ExclusiveJobInterface can be added to an ActiveJob to ensure this task is only queued once. As example this is useful for asynchronous jobs like search index rebuild.

See also humhub\modules\queue\ActiveJob.

Method Details

getExclusiveJobId() public abstract method

public abstract void getExclusiveJobId ( )