this.path = path;
}
@Override
public UpdateItemResult call() throws Exception {
UpdateItemRequest update = new UpdateItemRequest();
update.setTableName(tableName);
update.setKey(new Key(new AttributeValue(normalize(path.getParent())), new AttributeValue(path.getName())));
Map<String, AttributeValueUpdate> items = new HashMap<String, AttributeValueUpdate>();
items.put(DELETE_MARKER, new AttributeValueUpdate().withValue(new AttributeValue().withS(Boolean.TRUE.toString())));
items.put(EPOCH_VALUE, new AttributeValueUpdate().withValue(new AttributeValue().withN(System.currentTimeMillis()+"")));
update.setAttributeUpdates(items);
if(log.isDebugEnabled()) {
log.debug("Marking DynamoDB path deleted: " + path.toUri());
}