Class AllocationOutcome

java.lang.Object
org.apache.arrow.memory.AllocationOutcome

public class AllocationOutcome extends Object
Describes the type of outcome that occurred when trying to account for allocation of memory.
  • Method Details

    • getStatus

      public AllocationOutcome.Status getStatus()
      Get the status of the allocation.
      Returns:
      status code.
    • getDetails

      public Optional<AllocationOutcomeDetails> 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.