Package com.amazonaws.event
Interface DeliveryMode
-
- All Known Implementing Classes:
LegacyS3ProgressListener,ProgressListener.ExceptionReporter,ProgressListener.NoOpProgressListener,ProgressListenerChain,ProgressListenerWithEventCodeVerification,ProgressTracker,SyncProgressListener
public interface DeliveryModeUsed to indicate whether it is safe to deliver progress events to the listener synchronously. In general, a progress listener should never block, which is a necessary condition for the safety for synchronous delivery.- See Also:
SyncProgressListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeliveryMode.CheckProvides convenient method to check if a listener is safe to be invoked synchronously.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSyncCallSafe()Returns true if it is safe to make a synchronous callback to the implementing listener without the risk of incurring undue latency; false otherwise.
-