Package akka.stream
Class QueueOfferResult
- java.lang.Object
-
- akka.stream.QueueOfferResult
-
- Direct Known Subclasses:
QueueCompletionResult
,QueueOfferResult.Dropped$
,QueueOfferResult.Enqueued$
public abstract class QueueOfferResult extends java.lang.Object
Not for user extension
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueueOfferResult.Dropped$
Type is used to indicate that stream is dropped an elementstatic class
QueueOfferResult.Enqueued$
Type is used to indicate that stream is successfully enqueued an elementstatic class
QueueOfferResult.Failure
Type is used to indicate that stream is failed before or during call to the stream param: cause - exception that stream failed withstatic class
QueueOfferResult.Failure$
static class
QueueOfferResult.QueueClosed$
Type is used to indicate that stream is completed before call
-
Constructor Summary
Constructors Constructor Description QueueOfferResult()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static QueueOfferResult
dropped()
Java API: TheDropped
singleton instancestatic QueueOfferResult
enqueued()
Java API: TheEnqueued
singleton instanceabstract boolean
isEnqueued()
Return ture if the element was already enqueued, otherwise false.
-
-
-
Method Detail
-
enqueued
public static QueueOfferResult enqueued()
Java API: TheEnqueued
singleton instance
-
dropped
public static QueueOfferResult dropped()
Java API: TheDropped
singleton instance
-
isEnqueued
public abstract boolean isEnqueued()
Return ture if the element was already enqueued, otherwise false.
-
-