RedisTransaction
Adds support for Redis Transactions (i.e. MULTI/EXEC/DISCARD operations).
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public class RedisTransaction : RedisAllPurposePipeline, IRedisPipelineAsync, IRedisPipeline, IRedisTransactionAsync, IRedisTransactionBaseAsync, IRedisPipelineSharedAsync, IRedisQueueableOperationAsync, IRedisQueueCompletableOperationAsync, IRedisTransaction, IRedisTransactionBase, IRedisPipelineShared, IRedisQueueableOperation, IDisposable, IRedisQueueCompletableOperation
Methods
Init()
View Source
Declaration
protected override void Init()
Commit()
View Source
Declaration
public bool Commit()
Returns
System.Boolean
Rollback()
View Source
Declaration
public void Rollback()
Replay()
View Source
Declaration
public override bool Replay()
Returns
System.Boolean
Dispose()
View Source
Declaration
public override void Dispose()
AddCurrentQueuedOperation()
View Source
Declaration
protected override void AddCurrentQueuedOperation()
Inherited Methods
ClosePipeline()
View Source
Declaration
protected void ClosePipeline()
Dispose()
View Source
Declaration
public virtual void Dispose()
Execute()
View Source
Declaration
protected void Execute()
ExecuteAsync()
View Source
Declaration
protected async ValueTask ExecuteAsync()
Returns
ValueTask
Flush()
Flush send buffer, and read responses
View Source
Declaration
public void Flush()
Init()
View Source
Declaration
protected virtual void Init()
Replay()
View Source
Declaration
public virtual bool Replay()
Returns
System.Boolean
Implements
- ServiceStack.Redis.Pipeline.IRedisPipelineAsync
- ServiceStack.Redis.Pipeline.IRedisPipeline
- ServiceStack.Redis.IRedisTransactionAsync
- ServiceStack.Redis.IRedisTransactionBaseAsync
- ServiceStack.Redis.Pipeline.IRedisPipelineSharedAsync
- ServiceStack.Redis.Pipeline.IRedisQueueableOperationAsync
IAsyncDisposable
- ServiceStack.Redis.Pipeline.IRedisQueueCompletableOperationAsync
- ServiceStack.Redis.IRedisTransaction
- ServiceStack.Redis.IRedisTransactionBase
- ServiceStack.Redis.Pipeline.IRedisPipelineShared
- ServiceStack.Redis.Pipeline.IRedisQueueableOperation
System.IDisposable
- ServiceStack.Redis.Pipeline.IRedisQueueCompletableOperation