public enum AllocationOutcome extends Enum<AllocationOutcome>
| 列挙型定数と説明 |
|---|
FAILED_LOCAL
Allocation failed because the local allocator's limits were exceeded.
|
FAILED_PARENT
Allocation failed because a parent allocator's limits were exceeded.
|
FORCED_SUCCESS
Allocation succeeded but only because the allocator was forced to move beyond a limit.
|
SUCCESS
Allocation succeeded.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
isOk() |
static AllocationOutcome |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static AllocationOutcome[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final AllocationOutcome SUCCESS
public static final AllocationOutcome FORCED_SUCCESS
public static final AllocationOutcome FAILED_LOCAL
public static final AllocationOutcome FAILED_PARENT
public static AllocationOutcome[] values()
for(AllocationOutcome c: AllocationOutcome.values()) System.out.println(c);
public static AllocationOutcome valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public boolean isOk()
Copyright © 2018 The Apache Software Foundation. All rights reserved.