@Namespace(value="arrow::internal") @Properties(inherit=arrow.class) public class TaskGroup extends Pointer
Status().
Execution can be serial or parallel, depending on the TaskGroup
implementation. When Finish() returns, it is guaranteed that all
tasks have finished, or at least one has errored.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TaskGroup(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
current_status()
The current aggregate error Status.
|
Status |
Finish()
Wait for execution of all tasks (and subgroups) to be finished,
or for at least one task (or subgroup) to error out.
|
static TaskGroup |
MakeSerial() |
TaskGroup |
MakeSubGroup()
Create a subgroup of this group.
|
static TaskGroup |
MakeThreaded(Executor arg0) |
boolean |
ok()
Whether some tasks have already failed.
|
int |
parallelism()
How many tasks can typically be executed in parallel.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic TaskGroup(Pointer p)
Pointer.Pointer(Pointer).@ByVal public Status Finish()
@ByVal public Status current_status()
@Cast(value="bool") public boolean ok()
public int parallelism()
@SharedPtr public TaskGroup MakeSubGroup()
@SharedPtr public static TaskGroup MakeSerial()
@SharedPtr public static TaskGroup MakeThreaded(Executor arg0)
Copyright © 2020. All rights reserved.