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
Type | Name |
---|---|
System.String | key |
System.Int64 | amount |
Reset(String, Int64)
View Source
Declaration
public void Reset(string key, long startingAt = null)
Parameters
Type | Name |
---|---|
System.String | key |
System.Int64 | startingAt |