Files
UnrealEngineUWP/Engine/Source/Programs/Horde/HordeServer/Collections/ICounterCollection.cs
Ben Marsh 5abbc95b6e Add missing copyright notices.
[CL 16160939 by Ben Marsh in ue5-main branch]
2021-04-29 15:35:57 -04:00

23 lines
616 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HordeServer.Collections
{
/// <summary>
/// Collection of counter objects. Counters are named values stored in the database which can be atomically incremented.
/// </summary>
public interface ICounterCollection
{
/// <summary>
/// Increments a counter with the given name. The first value returned is 1.
/// </summary>
/// <param name="Name">Name of the counter</param>
/// <returns></returns>
Task<int> IncrementAsync(string Name);
}
}