public class AllocationOutcome extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AllocationOutcome.Status
Allocation status code.
|
Modifier and Type | Method and Description |
---|---|
Optional<AllocationOutcomeDetails> |
getDetails()
Get additional details of the allocation (like the status at each allocator in the hierarchy).
|
AllocationOutcome.Status |
getStatus()
Get the status of the allocation.
|
boolean |
isOk()
Returns true if the allocation was a success.
|
public AllocationOutcome.Status getStatus()
public Optional<AllocationOutcomeDetails> getDetails()
public boolean isOk()
Copyright © 2023 The Apache Software Foundation. All rights reserved.