C# Class RabbitMQ.Client.Unit.TestConnectionRecovery

Inheritance: IntegrationFixture
Exibir arquivo Open project: SilversphereInc/rabbitmq-dotnet-client

Public Properties

Property Type Description
RECOVERY_INTERVAL System.TimeSpan

Protected Methods

Method Description
AssertExchangeRecovery ( IModel m, string x ) : void
AssertQueueRecovery ( IModel m, string q ) : void
AssertQueueRecovery ( IModel m, string q, bool exclusive ) : void
AssertRecordedExchanges ( AutorecoveringConnection c, int n ) : void
AssertRecordedQueues ( AutorecoveringConnection c, int n ) : void
CloseAllAndWaitForRecovery ( ) : void
CloseAllAndWaitForRecovery ( AutorecoveringConnection conn ) : void
CloseAndWaitForRecovery ( ) : void
CloseAndWaitForRecovery ( AutorecoveringConnection conn ) : void
CloseAndWaitForShutdown ( AutorecoveringConnection conn ) : void
CreateAutorecoveringConnection ( ) : AutorecoveringConnection
CreateAutorecoveringConnection ( System.TimeSpan interval ) : AutorecoveringConnection
CreateAutorecoveringConnectionWithTopologyRecoveryDisabled ( ) : AutorecoveringConnection
CreateNonRecoveringConnection ( ) : IConnection
PrepareForRecovery ( AutorecoveringConnection conn ) : ManualResetEvent
PrepareForShutdown ( IConnection conn ) : ManualResetEvent
ReleaseResources ( ) : void
RestartServerAndWaitForRecovery ( ) : void
RestartServerAndWaitForRecovery ( AutorecoveringConnection conn ) : void
TestDelayedBasicAckNackAfterChannelRecovery ( TestBasicConsumer1 cons, ManualResetEvent latch ) : void
WaitForRecovery ( ) : void
WaitForRecovery ( AutorecoveringConnection conn ) : void
WaitForShutdown ( ) : void
WaitForShutdown ( IConnection conn ) : void

Private Methods

Method Description
Init ( ) : void
TestBasicAckAfterChannelRecovery ( ) : void
TestBasicAckEventHandlerRecovery ( ) : void
TestBasicConnectionRecovery ( ) : void
TestBasicConnectionRecoveryOnBrokerRestart ( ) : void
TestBasicModelRecovery ( ) : void
TestBasicModelRecoveryOnServerRestart ( ) : void
TestBasicNackAfterChannelRecovery ( ) : void
TestBasicRejectAfterChannelRecovery ( ) : void
TestBlockedListenersRecovery ( ) : void
TestClientNamedQueueRecovery ( ) : void
TestClientNamedQueueRecoveryNoWait ( ) : void
TestClientNamedQueueRecoveryOnServerRestart ( ) : void
TestClientNamedTransientAutoDeleteQueueAndBindingRecovery ( ) : void
TestConsumerRecoveryOnClientNamedQueueWithOneRecovery ( ) : void
TestConsumerRecoveryWithManyConsumers ( ) : void
TestConsumerWorkServiceRecovery ( ) : void
TestCreateModelOnClosedAutorecoveringConnectionDoesNotHang ( ) : void
TestDeclarationOfManyAutoDeleteExchangesWithTransientExchangesThatAreDeleted ( ) : void
TestDeclarationOfManyAutoDeleteExchangesWithTransientExchangesThatAreUnbound ( ) : void
TestDeclarationOfManyAutoDeleteExchangesWithTransientQueuesThatAreDeleted ( ) : void
TestDeclarationOfManyAutoDeleteExchangesWithTransientQueuesThatAreUnbound ( ) : void
TestDeclarationOfManyAutoDeleteQueuesWithTransientConsumer ( ) : void
TestExchangeRecovery ( ) : void
TestExchangeRecoveryWithNoWait ( ) : void
TestExchangeToExchangeBindingRecovery ( ) : void
TestQueueRecoveryWithManyQueues ( ) : void
TestRecoveryEventHandlersOnChannel ( ) : void
TestRecoveryEventHandlersOnConnection ( ) : void
TestRecoveryEventHandlersOnModel ( ) : void
TestRecoveryWithTopologyDisabled ( ) : void
TestServerNamedQueueRecovery ( ) : void
TestServerNamedTransientAutoDeleteQueueAndBindingRecovery ( ) : void
TestShutdownEventHandlersRecoveryOnConnection ( ) : void
TestShutdownEventHandlersRecoveryOnConnectionAfterDelayedServerRestart ( ) : void
TestShutdownEventHandlersRecoveryOnModel ( ) : void
TestThatCancelledConsumerDoesNotReappearOnRecovery ( ) : void
TestThatDeletedExchangeBindingsDontReappearOnRecovery ( ) : void
TestThatDeletedExchangesDontReappearOnRecovery ( ) : void
TestThatDeletedQueueBindingsDontReappearOnRecovery ( ) : void
TestThatDeletedQueuesDontReappearOnRecovery ( ) : void
TestUnblockedListenersRecovery ( ) : void

Method Details

AssertExchangeRecovery() protected method

protected AssertExchangeRecovery ( IModel m, string x ) : void
m IModel
x string
return void

AssertQueueRecovery() protected method

protected AssertQueueRecovery ( IModel m, string q ) : void
m IModel
q string
return void

AssertQueueRecovery() protected method

protected AssertQueueRecovery ( IModel m, string q, bool exclusive ) : void
m IModel
q string
exclusive bool
return void

AssertRecordedExchanges() protected method

protected AssertRecordedExchanges ( AutorecoveringConnection c, int n ) : void
c RabbitMQ.Client.Framing.Impl.AutorecoveringConnection
n int
return void

AssertRecordedQueues() protected method

protected AssertRecordedQueues ( AutorecoveringConnection c, int n ) : void
c RabbitMQ.Client.Framing.Impl.AutorecoveringConnection
n int
return void

CloseAllAndWaitForRecovery() protected method

protected CloseAllAndWaitForRecovery ( ) : void
return void

CloseAllAndWaitForRecovery() protected method

protected CloseAllAndWaitForRecovery ( AutorecoveringConnection conn ) : void
conn RabbitMQ.Client.Framing.Impl.AutorecoveringConnection
return void

CloseAndWaitForRecovery() protected method

protected CloseAndWaitForRecovery ( ) : void
return void

CloseAndWaitForRecovery() protected method

protected CloseAndWaitForRecovery ( AutorecoveringConnection conn ) : void
conn RabbitMQ.Client.Framing.Impl.AutorecoveringConnection
return void

CloseAndWaitForShutdown() protected method

protected CloseAndWaitForShutdown ( AutorecoveringConnection conn ) : void
conn RabbitMQ.Client.Framing.Impl.AutorecoveringConnection
return void

CreateAutorecoveringConnection() protected method

protected CreateAutorecoveringConnection ( ) : AutorecoveringConnection
return RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateAutorecoveringConnection() protected method

protected CreateAutorecoveringConnection ( System.TimeSpan interval ) : AutorecoveringConnection
interval System.TimeSpan
return RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateAutorecoveringConnectionWithTopologyRecoveryDisabled() protected method

protected CreateAutorecoveringConnectionWithTopologyRecoveryDisabled ( ) : AutorecoveringConnection
return RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateNonRecoveringConnection() protected method

protected CreateNonRecoveringConnection ( ) : IConnection
return IConnection

PrepareForRecovery() protected method

protected PrepareForRecovery ( AutorecoveringConnection conn ) : ManualResetEvent
conn RabbitMQ.Client.Framing.Impl.AutorecoveringConnection
return System.Threading.ManualResetEvent

PrepareForShutdown() protected method

protected PrepareForShutdown ( IConnection conn ) : ManualResetEvent
conn IConnection
return System.Threading.ManualResetEvent

ReleaseResources() protected method

protected ReleaseResources ( ) : void
return void

RestartServerAndWaitForRecovery() protected method

protected RestartServerAndWaitForRecovery ( ) : void
return void

RestartServerAndWaitForRecovery() protected method

protected RestartServerAndWaitForRecovery ( AutorecoveringConnection conn ) : void
conn AutorecoveringConnection
return void

TestDelayedBasicAckNackAfterChannelRecovery() protected method

protected TestDelayedBasicAckNackAfterChannelRecovery ( TestBasicConsumer1 cons, ManualResetEvent latch ) : void
cons TestBasicConsumer1
latch ManualResetEvent
return void

WaitForRecovery() protected method

protected WaitForRecovery ( ) : void
return void

WaitForRecovery() protected method

protected WaitForRecovery ( AutorecoveringConnection conn ) : void
conn AutorecoveringConnection
return void

WaitForShutdown() protected method

protected WaitForShutdown ( ) : void
return void

WaitForShutdown() protected method

protected WaitForShutdown ( IConnection conn ) : void
conn IConnection
return void

Property Details

RECOVERY_INTERVAL public_oe static_oe property

public static TimeSpan,System RECOVERY_INTERVAL
return System.TimeSpan