Package | Description |
---|---|
org.jets3t.service.multi | |
org.jets3t.service.multi.s3 | |
org.jets3t.service.utils |
General purpose utilities used throughout the JetS3t toolkit and applications.
|
Modifier and Type | Class and Description |
---|---|
class |
StorageServiceEventAdaptor
Simple implementation of
StorageServiceEventListener to listen for events produced by
ThreadedStorageService . |
Modifier and Type | Field and Description |
---|---|
protected List<StorageServiceEventListener> |
ThreadedStorageService.serviceEventListeners |
Modifier and Type | Method and Description |
---|---|
void |
ThreadedStorageService.addServiceEventListener(StorageServiceEventListener listener)
Adds a service event listener to the set of listeners that will be notified of events.
|
void |
ThreadedStorageService.removeServiceEventListener(StorageServiceEventListener listener)
Removes a service event listener from the set of listeners that will be notified of events.
|
Constructor and Description |
---|
ThreadedStorageService(StorageService service,
StorageServiceEventListener listener)
Construct a multi-threaded service based on a StorageService and which sends event notifications
to an event listening class.
|
ThreadedStorageService(StorageService service,
StorageServiceEventListener listener,
long threadSleepTimeMS)
Construct a multi-threaded service based on an storage service and which sends event notifications
to an event listening class, and which will send EVENT_IN_PROGRESS events at the specified
time interval.
|
Modifier and Type | Interface and Description |
---|---|
interface |
S3ServiceEventListener
Listener for events produced by
ThreadedS3Service . |
Modifier and Type | Class and Description |
---|---|
class |
S3ServiceEventAdaptor
Simple implementation of
S3ServiceEventListener to listen for events produced by
ThreadedS3Service and ThreadedStorageService . |
Constructor and Description |
---|
ThreadedS3Service(S3Service service,
StorageServiceEventListener listener) |
Modifier and Type | Method and Description |
---|---|
Map<String,StorageObject> |
FileComparer.buildObjectMap(StorageService service,
String bucketName,
String targetPath,
Map<String,String> objectKeyToFilepathMap,
boolean forceMetadataDownload,
boolean isForceUpload,
BytesProgressWatcher progressWatcher,
StorageServiceEventListener eventListener)
Builds a service Object Map containing all the objects within the given target path,
where the map's key for each object is the relative path to the object.
|
FileComparer.PartialObjectListing |
FileComparer.buildObjectMapPartial(StorageService service,
String bucketName,
String targetPath,
String priorLastKey,
Map<String,String> objectKeyToFilepathMap,
boolean completeListing,
boolean forceMetadataDownload,
boolean isForceUpload,
BytesProgressWatcher progressWatcher,
StorageServiceEventListener eventListener)
Builds a service Object Map containing a partial set of objects within the given target path,
where the map's key for each object is the relative path to the object.
|
Map<String,StorageObject> |
FileComparer.lookupObjectMetadataForPotentialClashes(StorageService service,
String bucketName,
String targetPath,
StorageObject[] objectsWithoutMetadata,
Map<String,String> objectKeyToFilepathMap,
boolean forceMetadataDownload,
boolean isForceUpload,
BytesProgressWatcher progressWatcher,
StorageServiceEventListener eventListener)
Given a set of storage objects for which only minimal information is available,
retrieve metadata information for any objects that potentially clash with
local files.
|
Copyright © 2006–2018. All rights reserved.