public ISignal FindSignal(string key) { string rkey = MessageExtension.GetRedisKey(_tentantType, _tentantId, key); var value = MessageExtension.PersistentStore.Get(rkey); if (value == null) { return(null); } var signal = new RedisSignal() { TenantType = _tentantType, TenantId = _tentantId, UId = key, Value = value }; return(signal); }
public void RemoveSignal(string key) { string rkey = MessageExtension.GetRedisKey(_tentantType, _tentantId, key); MessageExtension.PersistentStore.Remove(rkey); }