ISequenceSource
Provide unique, incrementing sequences. Used in PocoDynamo.
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface ISequenceSource : IRequiresSchema
Methods
Increment(String, Int64)
View Source
Declaration
long Increment(string key, long amount = 1L)
Returns
System.Int64
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | amount |
Reset(String, Int64)
View Source
Declaration
void Reset(string key, long startingAt = 0L)
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | startingAt |