Click or drag to resize
Akka.NETTestLatch Methods

The TestLatch type exposes the following members.

Methods
  NameDescription
Public methodCountDown
Count down the latch.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpen
Make this instance become open.
Public methodReady
Expects the latch to become open within the default timeout. If the timeout is reached, a TimeoutException is thrown.

If no timeout was specified when creating this instance, 5 seconds is used.

If this instance has been created using TestKit.CreateTestLatch the default timeout from DefaultTimeout is used and dilated, i.e. multiplied by TestTimeFactor

Public methodReady(TimeSpan)
Expects the latch to become open within the specified timeout. If the timeout is reached, a TimeoutException is thrown.

If this instance has been created using TestKit.CreateTestLatchtimeout is dilated, i.e. multiplied by TestTimeFactor

Public methodReset
Reset this instance to the initial count, making it become closed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also