C# Class Rhino.Queues.Storage.GlobalActions

Inheritance: AbstractActions
Show file Open project: hibernating-rhinos/rhino-queues Class Usage Examples

Public Methods

Method Description
CreateQueueIfDoesNotExists ( string queueName ) : void
DeleteMessageToSend ( System.Guid transactionId ) : void
DeleteMessageToSendHistoric ( Rhino.Queues.Storage.MessageBookmark bookmark ) : void
DeleteOldestReceivedMessageIds ( int numberOfItemsToKeep, int numberOfItemsToDelete ) : IEnumerable
DeleteRecoveryInformation ( System.Guid transactionId ) : void
GetAllQueuesNames ( ) : string[]
GetAlreadyReceivedMessageIds ( ) : IEnumerable
GetNumberOfMessages ( string queueName ) : int
GetRecoveryInformation ( ) : IEnumerable
GetSentMessageBookmarkAtPosition ( int positionFromNewestSentMessage ) : Rhino.Queues.Storage.MessageBookmark
GetSentMessages ( int batchSize = null ) : IEnumerable
GlobalActions ( JET_INSTANCE instance, Rhino.Queues.Storage.ColumnsInformation columnsInformation, string database, System.Guid instanceId, QueueManagerConfiguration configuration ) : System
MarkAllOutgoingInFlightMessagesAsReadyToSend ( ) : void
MarkAllProcessedMessagesWithTransactionsNotRegisterForRecoveryAsReadyToDeliver ( ) : void
MarkAsReadyToSend ( System.Guid transactionId ) : void
MarkReceived ( Rhino.Queues.Model.MessageId id ) : void
RegisterRecoveryInformation ( System.Guid transactionId, byte information ) : void
RegisterToSend ( Rhino.Queues.Protocol.Endpoint destination, string queue, string subQueue, MessagePayload payload, System.Guid transactionId ) : System.Guid
RegisterUpdateToReverse ( System.Guid txId, Rhino.Queues.Storage.MessageBookmark bookmark, MessageStatus statusToRestore, string subQueue ) : void
RemoveReversalsMoveCompletedMessagesAndFinishSubQueueMove ( System.Guid transactionId ) : void
ReverseAllFrom ( System.Guid transactionId ) : void

Method Details

CreateQueueIfDoesNotExists() public method

public CreateQueueIfDoesNotExists ( string queueName ) : void
queueName string
return void

DeleteMessageToSend() public method

public DeleteMessageToSend ( System.Guid transactionId ) : void
transactionId System.Guid
return void

DeleteMessageToSendHistoric() public method

public DeleteMessageToSendHistoric ( Rhino.Queues.Storage.MessageBookmark bookmark ) : void
bookmark Rhino.Queues.Storage.MessageBookmark
return void

DeleteOldestReceivedMessageIds() public method

public DeleteOldestReceivedMessageIds ( int numberOfItemsToKeep, int numberOfItemsToDelete ) : IEnumerable
numberOfItemsToKeep int
numberOfItemsToDelete int
return IEnumerable

DeleteRecoveryInformation() public method

public DeleteRecoveryInformation ( System.Guid transactionId ) : void
transactionId System.Guid
return void

GetAllQueuesNames() public method

public GetAllQueuesNames ( ) : string[]
return string[]

GetAlreadyReceivedMessageIds() public method

public GetAlreadyReceivedMessageIds ( ) : IEnumerable
return IEnumerable

GetNumberOfMessages() public method

public GetNumberOfMessages ( string queueName ) : int
queueName string
return int

GetRecoveryInformation() public method

public GetRecoveryInformation ( ) : IEnumerable
return IEnumerable

GetSentMessageBookmarkAtPosition() public method

public GetSentMessageBookmarkAtPosition ( int positionFromNewestSentMessage ) : Rhino.Queues.Storage.MessageBookmark
positionFromNewestSentMessage int
return Rhino.Queues.Storage.MessageBookmark

GetSentMessages() public method

public GetSentMessages ( int batchSize = null ) : IEnumerable
batchSize int
return IEnumerable

GlobalActions() public method

public GlobalActions ( JET_INSTANCE instance, Rhino.Queues.Storage.ColumnsInformation columnsInformation, string database, System.Guid instanceId, QueueManagerConfiguration configuration ) : System
instance JET_INSTANCE
columnsInformation Rhino.Queues.Storage.ColumnsInformation
database string
instanceId System.Guid
configuration QueueManagerConfiguration
return System

MarkAllOutgoingInFlightMessagesAsReadyToSend() public method

public MarkAllOutgoingInFlightMessagesAsReadyToSend ( ) : void
return void

MarkAllProcessedMessagesWithTransactionsNotRegisterForRecoveryAsReadyToDeliver() public method

MarkAsReadyToSend() public method

public MarkAsReadyToSend ( System.Guid transactionId ) : void
transactionId System.Guid
return void

MarkReceived() public method

public MarkReceived ( Rhino.Queues.Model.MessageId id ) : void
id Rhino.Queues.Model.MessageId
return void

RegisterRecoveryInformation() public method

public RegisterRecoveryInformation ( System.Guid transactionId, byte information ) : void
transactionId System.Guid
information byte
return void

RegisterToSend() public method

public RegisterToSend ( Rhino.Queues.Protocol.Endpoint destination, string queue, string subQueue, MessagePayload payload, System.Guid transactionId ) : System.Guid
destination Rhino.Queues.Protocol.Endpoint
queue string
subQueue string
payload MessagePayload
transactionId System.Guid
return System.Guid

RegisterUpdateToReverse() public method

public RegisterUpdateToReverse ( System.Guid txId, Rhino.Queues.Storage.MessageBookmark bookmark, MessageStatus statusToRestore, string subQueue ) : void
txId System.Guid
bookmark Rhino.Queues.Storage.MessageBookmark
statusToRestore MessageStatus
subQueue string
return void

RemoveReversalsMoveCompletedMessagesAndFinishSubQueueMove() public method

public RemoveReversalsMoveCompletedMessagesAndFinishSubQueueMove ( System.Guid transactionId ) : void
transactionId System.Guid
return void

ReverseAllFrom() public method

public ReverseAllFrom ( System.Guid transactionId ) : void
transactionId System.Guid
return void