C# Class NServiceBus.Redis.RedisTimeoutPersistence

Inheritance: IPersistTimeouts
Exibir arquivo Open project: mackie1001/NServicebus.Redis

Protected Properties

Property Type Description
_clientManager IRedisClientsManager
_endpointName string
_log log4net.ILog
_serializer ISerializer

Public Methods

Method Description
Add ( TimeoutData timeout ) : void
GetNextChunk ( System.DateTime startSlice, System.DateTime &nextTimeToRunQuery ) : DateTime>>.List
RedisTimeoutPersistence ( ISerializer serializer, IRedisClientsManager clientManager ) : System
RemoveTimeoutBy ( System.Guid sagaId ) : void
TryRemove ( string timeoutId, TimeoutData &timeoutData ) : bool

Protected Methods

Method Description
Deserialize ( string data ) : TimeoutData
GetClient ( ) : RedisClient
GetDateTimeFromScore ( int score ) : System.DateTime
GetKeyPrefix ( ) : string
GetSagaIdMapHashName ( ) : string
GetStartDate ( ) : System.DateTime
GetTimeoutDataHashName ( ) : string
GetTimeoutIdsListName ( ) : string
GetTimeoutTimesSortedSetName ( ) : string
ScoreDateTime ( System.DateTime time ) : int
Serialize ( TimeoutData timeout ) : string

Method Details

Add() public method

public Add ( TimeoutData timeout ) : void
timeout NServiceBus.Timeout.Core.TimeoutData
return void

Deserialize() protected method

protected Deserialize ( string data ) : TimeoutData
data string
return NServiceBus.Timeout.Core.TimeoutData

GetClient() protected method

protected GetClient ( ) : RedisClient
return ServiceStack.Redis.RedisClient

GetDateTimeFromScore() protected method

protected GetDateTimeFromScore ( int score ) : System.DateTime
score int
return System.DateTime

GetKeyPrefix() protected method

protected GetKeyPrefix ( ) : string
return string

GetNextChunk() public method

public GetNextChunk ( System.DateTime startSlice, System.DateTime &nextTimeToRunQuery ) : DateTime>>.List
startSlice System.DateTime
nextTimeToRunQuery System.DateTime
return DateTime>>.List

GetSagaIdMapHashName() protected method

protected GetSagaIdMapHashName ( ) : string
return string

GetStartDate() protected method

protected GetStartDate ( ) : System.DateTime
return System.DateTime

GetTimeoutDataHashName() protected method

protected GetTimeoutDataHashName ( ) : string
return string

GetTimeoutIdsListName() protected method

protected GetTimeoutIdsListName ( ) : string
return string

GetTimeoutTimesSortedSetName() protected method

protected GetTimeoutTimesSortedSetName ( ) : string
return string

RedisTimeoutPersistence() public method

public RedisTimeoutPersistence ( ISerializer serializer, IRedisClientsManager clientManager ) : System
serializer ISerializer
clientManager IRedisClientsManager
return System

RemoveTimeoutBy() public method

public RemoveTimeoutBy ( System.Guid sagaId ) : void
sagaId System.Guid
return void

ScoreDateTime() protected method

protected ScoreDateTime ( System.DateTime time ) : int
time System.DateTime
return int

Serialize() protected method

protected Serialize ( TimeoutData timeout ) : string
timeout NServiceBus.Timeout.Core.TimeoutData
return string

TryRemove() public method

public TryRemove ( string timeoutId, TimeoutData &timeoutData ) : bool
timeoutId string
timeoutData NServiceBus.Timeout.Core.TimeoutData
return bool

Property Details

_clientManager protected_oe property

protected IRedisClientsManager _clientManager
return IRedisClientsManager

_endpointName protected_oe property

protected string _endpointName
return string

_log protected_oe property

protected ILog,log4net _log
return log4net.ILog

_serializer protected_oe property

protected ISerializer _serializer
return ISerializer