org.jets3t.service.multi.s3
Class S3ServiceEventAdaptor
java.lang.Object
org.jets3t.service.multi.StorageServiceEventAdaptor
org.jets3t.service.multi.s3.S3ServiceEventAdaptor
- All Implemented Interfaces:
- S3ServiceEventListener, StorageServiceEventListener
public class S3ServiceEventAdaptor
- extends StorageServiceEventAdaptor
- implements S3ServiceEventListener
Simple implementation of 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.
- Author:
- James Murty
| Methods inherited from class org.jets3t.service.multi.StorageServiceEventAdaptor |
event, event, event, event, event, event, event, event, event, event, getErrorThrown, throwErrorIfPresent, wasErrorThrown |
S3ServiceEventAdaptor
public S3ServiceEventAdaptor()
event
public void event(MultipartUploadsEvent event)
- Specified by:
event in interface S3ServiceEventListener
event
public void event(MultipartStartsEvent event)
- Specified by:
event in interface S3ServiceEventListener
event
public void event(MultipartCompletesEvent event)
- Specified by:
event in interface S3ServiceEventListener