Bucket data = null;
if(returnType == RETURN_TYPE_DIRECT) {
container.activate(allDataPending, Integer.MAX_VALUE);
data = allDataPending.bucket;
if(data == null) throw new ResumeFailedException("No data");
data.onResume(context);
}
ret.setSuccessForMigration(context, completionTime, data);
} else if(this.getFailedMessage != null) {
ret.onFailure(getFailedMessage.getFetchException(), null);
} else if(this.postFetchProtocolErrorMessage != null) {