Package org.apache.arrow.memory
Class AllocationOutcome
java.lang.Object
org.apache.arrow.memory.AllocationOutcome
Describes the type of outcome that occurred when trying to account for allocation of memory.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet additional details of the allocation (like the status at each allocator in the hierarchy).Get the status of the allocation.boolean
isOk()
Returns true if the allocation was a success.
-
Method Details
-
getStatus
Get the status of the allocation.- Returns:
- status code.
-
getDetails
Get additional details of the allocation (like the status at each allocator in the hierarchy).- Returns:
- details of allocation
-
isOk
public boolean isOk()Returns true if the allocation was a success.- Returns:
- true if allocation was successful, false otherwise.
-