﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using StackExchange.Redis;

namespace Clock.Logic.Contracts
{
	public interface IStoreService
	{
		Lazy<ConnectionMultiplexer> Connection { get; }
		Task Put(string key, string serializedObject, TimeSpan? retention = null);
		Task<RedisValue> Get(string key);
		Task Delete(string key);
		List<string> Scan(string v);
	}
}
