Interface Lockable

    • Method Detail

      • setUseLock

        void setUseLock​(boolean useLock)
        Turn locking on/off on the resource
        Parameters:
        useLock -
      • setStopOnError

        void setStopOnError​(boolean stopOnError)
        Stop the broker if the locker get an exception while processing lock.
        Parameters:
        stopOnError -
      • setLockKeepAlivePeriod

        void setLockKeepAlivePeriod​(long lockKeepAlivePeriod)
        Period (in milliseconds) on which Locker.keepAlive() should be checked
        Parameters:
        lockKeepAlivePeriod -
      • getLockKeepAlivePeriod

        long getLockKeepAlivePeriod()