log.info("Wake up!");
BlobstoreServiceFactory.getBlobstoreService().delete(new BlobKey(blobKey));
log.info("Successfully delete orphan blob with key=" + blobKey);
} catch (BlobstoreFailureException e) {
log.severe("Could not delete blob with key=" + blobKey);
DatastoreProxy.createOrphantBlob(new OrphanBlob(blobKey));
log.info("Created a corresponding OrphanBlob object.");
}
}
} catch (InterruptedException e) {
e.printStackTrace();