Class FishingOutcomes
- java.lang.Object
-
- org.apache.pekko.actor.testkit.typed.scaladsl.FishingOutcomes
-
public class FishingOutcomes extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FishingOutcomes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FishingOutcomecomplete()Complete fishing and return all messages up until thisstatic FishingOutcomecontinueAndIgnore()Consume this message, but do not collect it into the result, and continue with the next messagestatic FishingOutcomefail(java.lang.String message)Fail fishing with a custom error message
-
-
-
Method Detail
-
complete
public static FishingOutcome complete()
Complete fishing and return all messages up until this
-
continueAndIgnore
public static FishingOutcome continueAndIgnore()
Consume this message, but do not collect it into the result, and continue with the next message
-
fail
public static FishingOutcome fail(java.lang.String message)
Fail fishing with a custom error message
-
-