@Service @Transactional(value="herdTransactionManager") public class FileUploadCleanupServiceImpl extends Object implements FileUploadCleanupService
| Constructor and Description |
|---|
FileUploadCleanupServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
abortMultipartUploads(String storageName,
int thresholdMinutes)
Aborts any multipart uploads that were initiated in the specified S3 storage more than threshold minutes ago.
|
List<BusinessObjectDataKey> |
deleteBusinessObjectData(String storageName,
int thresholdMinutes)
Marks as DELETED any dangling business object data records having storage files associated with the specified storage.
|
public List<BusinessObjectDataKey> deleteBusinessObjectData(String storageName, int thresholdMinutes)
FileUploadCleanupServicedeleteBusinessObjectData in interface FileUploadCleanupServicestorageName - the storage namethresholdMinutes - the expiration time in minutes to select dangling business object data for deletionpublic int abortMultipartUploads(String storageName, int thresholdMinutes)
FileUploadCleanupServiceabortMultipartUploads in interface FileUploadCleanupServicestorageName - the storage namethresholdMinutes - the expiration time in minutes indicating which multipart uploads should be abortedCopyright © 2017. All rights reserved.