@Namespace(value="arrow::util") @NoOffset @Properties(inherit=arrow.class) public class BackpressureOptions extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
BackpressureOptions()
\brief Create default options that perform no backpressure
|
BackpressureOptions(AsyncToggle toggle,
int resume_if_below,
int pause_if_above)
\brief Create options that will perform backpressure
|
BackpressureOptions(long size)
Native array allocator.
|
BackpressureOptions(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BackpressureOptions |
getPointer(long i) |
static BackpressureOptions |
Make() |
static BackpressureOptions |
Make(int resume_if_below,
int pause_if_above) |
static BackpressureOptions |
NoBackpressure() |
int |
pause_if_above() |
BackpressureOptions |
pause_if_above(int setter) |
BackpressureOptions |
position(long position) |
int |
resume_if_below() |
BackpressureOptions |
resume_if_below(int setter) |
AsyncToggle |
toggle() |
BackpressureOptions |
toggle(AsyncToggle setter) |
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 BackpressureOptions(Pointer p)
Pointer(Pointer).public BackpressureOptions(long size)
Pointer.position(long).public BackpressureOptions()
public BackpressureOptions(@SharedPtr AsyncToggle toggle, @Cast(value="uint32_t") int resume_if_below, @Cast(value="uint32_t") int pause_if_above)
toggle - A toggle to be shared between the producer and consumerresume_if_below - The producer should resume producing if the backpressure
queue has fewer than resume_if_below items.pause_if_above - The producer should pause producing if the backpressure
queue has more than pause_if_above itemspublic BackpressureOptions position(long position)
public BackpressureOptions getPointer(long i)
getPointer in class Pointer@ByVal public static BackpressureOptions Make(@Cast(value="uint32_t") int resume_if_below, @Cast(value="uint32_t") int pause_if_above)
@ByVal public static BackpressureOptions Make()
@ByVal public static BackpressureOptions NoBackpressure()
@SharedPtr public AsyncToggle toggle()
public BackpressureOptions toggle(AsyncToggle setter)
public BackpressureOptions resume_if_below(int setter)
public BackpressureOptions pause_if_above(int setter)
Copyright © 2022. All rights reserved.