Class TestBarrier
Wraps a Barrier for use in testing. It always uses a timeout when waiting. Timeouts will always throw an exception. The default timeout is based on TestKits default out, see DefaultTimeout.
Inherited Members
Namespace: Akka.TestKit
Assembly: Akka.TestKit.dll
Syntax
public class TestBarrier
Constructors
| Improve this Doc View SourceTestBarrier(TestKitBase, Int32, Nullable<TimeSpan>)
TBD
Declaration
public TestBarrier(TestKitBase testKit, int count, TimeSpan? defaultTimeout = null)
Parameters
Type | Name | Description |
---|---|---|
TestKitBase | testKit | TBD |
Int32 | count | TBD |
Nullable<TimeSpan> | defaultTimeout | TBD |
Fields
| Improve this Doc View SourceDefaultTimeout
Obsolete. Use DefaultTimeout instead.
Declaration
[Obsolete("This field will be removed in future versions.")]
public static readonly TimeSpan DefaultTimeout
Field Value
Type | Description |
---|---|
TimeSpan |
Methods
| Improve this Doc View SourceAwait()
TBD
Declaration
public void Await()
Await(TimeSpan)
TBD
Declaration
public void Await(TimeSpan timeout)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | timeout | TBD |
Reset()
TBD
Declaration
public void Reset()