Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBBatch::abort()
This method instructs the Cluster Manager to abort the processing of this batch request, changing its status to ABORTED. Please refer to the Batch Status Codes section for further details.
void | abort ( ) |
Example usage:
// Abort this batch if it is taking too long time_t curtime = time(NULL); if (curtime - starttime > maxwaittime) { batch->abort(); break; }