private static HashSet <String> CheckAlreadyAckedIdsWith(List <String> ids) { FlexCache cache = new FlexCache(); HashSet <String> ackedIds = cache.GetIntersectWithSet("ackedCollectionSet", ids); return(ackedIds); }
private static void RemoveAckedIdsFromCache() { List <string> ids = RawData.batchCreated(); FlexCache cache = new FlexCache(); cache.RemoveItemsFromSet("ackedCollectionSet", ids); }
private static void AddAckedIdsToCache() { List <string> ids = RawData.acked(); FlexCache cache = new FlexCache(); cache.AddItemsToSet("ackedCollectionSet", ids); }