// Retrieve the complete metadata information for selected objects
final List<StorageObject> objectsCompleteList =
new ArrayList<StorageObject>(objectsWithoutMetadata.length);
final ServiceException serviceExceptions[] = new ServiceException[1];
ThreadedStorageService threadedService = new ThreadedStorageService(service,
new StorageServiceEventAdaptor() {
@Override
public void event(GetObjectHeadsEvent event) {
if (GetObjectHeadsEvent.EVENT_IN_PROGRESS == event.getEventCode()) {
StorageObject[] finishedObjects = event.getCompletedObjects();
if (finishedObjects.length > 0) {