Package com.amazonaws.event
Interface DeliveryMode
-
- All Known Implementing Classes:
LegacyS3ProgressListener
,ProgressListener.ExceptionReporter
,ProgressListener.NoOpProgressListener
,ProgressListenerChain
,ProgressListenerWithEventCodeVerification
,ProgressTracker
,SyncProgressListener
public interface DeliveryMode
Used 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 class
DeliveryMode.Check
Provides 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 boolean
isSyncCallSafe()
Returns true if it is safe to make a synchronous callback to the implementing listener without the risk of incurring undue latency; false otherwise.
-