@Namespace(value="arrow::internal") @NoOffset @Properties(inherit=arrow.class) public class ThreadPool extends Executor
| Modifier and Type | Class and Description |
|---|---|
static class |
ThreadPool.State |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ThreadPool(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
DefaultCapacity() |
int |
GetCapacity() |
int |
GetNumTasks() |
static ThreadPoolResult |
Make(int threads) |
static ThreadPoolResult |
MakeEternal(int threads) |
Status |
SetCapacity(int threads) |
Status |
Shutdown() |
Status |
Shutdown(boolean _wait) |
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 ThreadPool(Pointer p)
Pointer(Pointer).@ByVal public static ThreadPoolResult Make(int threads)
@ByVal public static ThreadPoolResult MakeEternal(int threads)
public int GetCapacity()
GetCapacity in class Executorpublic int GetNumTasks()
public static int DefaultCapacity()
Copyright © 2021. All rights reserved.