@Name(value="arrow::Future<>") @Properties(inherit=arrow.class) public class Future extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Future(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Future |
asFuture()
\brief Future
|
boolean |
is_finished()
\brief Whether the Future is finished
A false return value is only indicative, as the Future can complete
concurrently.
|
boolean |
is_valid() |
static Future |
Make()
\brief Producer API: instantiate a valid Future
The Future's state is initialized with PENDING.
|
arrow.FutureState |
state()
\brief Return the Future's current state
A return value of PENDING is only indicative, as the Future can complete
concurrently.
|
Status |
status()
\brief Wait for the Future to complete and return its Status
|
void |
Wait()
\brief Wait for the Future to complete
|
boolean |
Wait(double seconds)
\brief Wait for the Future to complete, or for the timeout to expire
true is returned if the Future completed, false if the timeout expired. |
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, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Future(Pointer p)
Pointer(Pointer).public arrow.FutureState state()
@Cast(value="bool") public boolean is_finished()
@Const @ByRef public Status status()
@ByVal @Name(value="operator arrow::Future<>") public Future asFuture()
public void Wait()
@Cast(value="bool") public boolean Wait(double seconds)
true is returned if the Future completed, false if the timeout expired.
Note a false value is only indicative, as the Future can complete
concurrently.@ByVal public static Future Make()
Copyright © 2021. All rights reserved.