@Namespace(value="arrow::util") @Properties(inherit=arrow.class) public class AsyncTaskGroup extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
AsyncTaskGroup()
Default native constructor.
|
AsyncTaskGroup(long size)
Native array allocator.
|
AsyncTaskGroup(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Status |
AddTask(Future task)
Add a task that has already been started
|
Status |
AddTask(Pointer task)
Add a task to be tracked by this task group
If a previous task has failed then adding a task will fail
If WaitForTasksToFinish has been called and the returned future has been marked
completed then adding a task will fail.
|
Future |
End()
Signal that top level tasks are done being added
It is allowed for tasks to be added after this call provided the future has not yet
completed.
|
AsyncTaskGroup |
getPointer(long i) |
Future |
OnFinished()
A future that will be finished after End is called and all tasks have completed
This is the same future that is returned by End() but calling this method does
not indicate that top level tasks are done being added.
|
AsyncTaskGroup |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic AsyncTaskGroup()
public AsyncTaskGroup(long size)
Pointer.position(long).public AsyncTaskGroup(Pointer p)
Pointer(Pointer).public AsyncTaskGroup position(long position)
public AsyncTaskGroup getPointer(long i)
getPointer in class Pointer@ByVal public Status AddTask(@ByVal @Cast(value="std::function<arrow::Result<arrow::Future<> >()>*") Pointer task)
@ByVal public Status AddTask(@Const @ByRef Future task)
@ByVal public Future End()
@ByVal public Future OnFinished()
Copyright © 2022. All rights reserved.