BrakePedal.MemoryThrottleRepository.LockExists C# (CSharp) Method

LockExists() public method

public LockExists ( IThrottleKey key, BrakePedal.Limiter limiter ) : bool
key IThrottleKey
limiter BrakePedal.Limiter
return bool
        public bool LockExists(IThrottleKey key, Limiter limiter)
        {
            string lockId = CreateLockKey(key, limiter);
            return _store.Contains(lockId);
        }