Class StoringSubscriber.Event<T>
java.lang.Object
software.amazon.awssdk.utils.async.StoringSubscriber.Event<T>
- Enclosing class:
 StoringSubscriber<T>
An event stored for later retrieval by this subscriber.
 
Stored events are one of the follow type()s:
 
VALUE- A value received byStoringSubscriber.onNext(Object), available viavalue().COMPLETE- IndicatingStoringSubscriber.onComplete()was called.ERROR- IndicatingStoringSubscriber.onError(Throwable)was called. The exception is available viaruntimeError()EMPTY- Indicating that no events remain in the queue (but more from upstream may be given later).
- 
Method Summary
Modifier and TypeMethodDescriptionThe error stored in thisERRORtype.type()Retrieve theStoringSubscriber.EventTypeof this event.value()The value stored in thisVALUEtype. 
- 
Method Details
- 
type
Retrieve theStoringSubscriber.EventTypeof this event. - 
value
The value stored in thisVALUEtype. Null for all other event types. - 
runtimeError
The error stored in thisERRORtype. Null for all other event types. If a checked exception was received viaStoringSubscriber.onError(Throwable), this will return aRuntimeExceptionwith the checked exception as its cause. 
 -