Core Lock

Locking mechanism that prevents concurrent execution of different tasks

Utilities · Cortex Lock

Configuration parameters

  • timeout — Default timeout (seconds) for wait on locks to be released (required)
  • sync — Sync integration cache

Commands (8)

  • core-lock-get

    Gets a specific lock. If the lock doesn't exist, it creates one. If the lock is already in use, the command waits until the lock is released or until timeout is reached. If timeout is reached and the lock hasn't been released, the command fails to get the lock.

  • core-lock-info

    Show information on locks

  • core-lock-release

    Release a lock

  • core-lock-release-all

    Release all locks

  • demisto-lock-get

    Gets a specific lock. If the lock doesn't exist, it creates one. If the lock is already in use, the command waits until the lock is released or until timeout is reached. If timeout is reached and the lock hasn't been released, the command fails to get the lock.

  • demisto-lock-info

    Show information on locks

  • demisto-lock-release

    Release a lock

  • demisto-lock-release-all

    Release all locks