public class S3ServiceEventAdaptor extends StorageServiceEventAdaptor implements S3ServiceEventListener
S3ServiceEventListener to listen for events produced by
ThreadedS3Service and ThreadedStorageService.
By default this adaptor does nothing but store the first Error event it comes across, if any,
and make it available through StorageServiceEventAdaptor.getErrorThrown().
The behaviour of this class can be specialised by over-riding the appropriate event methods, though always be sure to call the super version of these methods if you are relying on the default error-trapping functions of this class.
| Constructor and Description |
|---|
S3ServiceEventAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
event(MultipartCompletesEvent event) |
void |
event(MultipartStartsEvent event) |
void |
event(MultipartUploadsEvent event) |
event, event, event, event, event, event, event, event, event, event, getErrorThrown, storeThrowable, throwErrorIfPresent, wasErrorThrownpublic void event(MultipartUploadsEvent event)
event in interface S3ServiceEventListenerpublic void event(MultipartStartsEvent event)
event in interface S3ServiceEventListenerpublic void event(MultipartCompletesEvent event)
event in interface S3ServiceEventListener