Skip to main content

RedisSequenceSource

Assembly: ServiceStack.Server.dll
View Source
Declaration
public class RedisSequenceSource : object, ISequenceSource, IRequiresSchema

Methods

InitSchema()

View Source
Declaration
public void InitSchema()

Increment(String, Int64)

View Source
Declaration
public long Increment(string key, long amount = null)
Returns

System.Int64

Parameters
TypeName
System.Stringkey
System.Int64amount

Reset(String, Int64)

View Source
Declaration
public void Reset(string key, long startingAt = null)
Parameters
TypeName
System.Stringkey
System.Int64startingAt

Implements