AllocationType that all memory managers should
support.
| Modifier and Type | Field and Description |
|---|---|
| public static final StandardAllocationTypes | OFF_HEAP
The allocation should use native (non-heap) memory. |
| public static final StandardAllocationTypes | ON_HEAP
The allocation should use Java heap memory. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static StandardAllocationTypes | |
| public static StandardAllocationTypes[] |
| OFF_HEAP | back to summary |
|---|---|
| public static final StandardAllocationTypes OFF_HEAP The allocation should use native (non-heap) memory. | |
| ON_HEAP | back to summary |
|---|---|
| public static final StandardAllocationTypes ON_HEAP The allocation should use Java heap memory. | |
| StandardAllocationTypes | back to summary |
|---|---|
| private StandardAllocationTypes() | |
| isDirect | back to summary |
|---|---|
| public boolean isDirect() Implements io.
| |
| valueOf | back to summary |
|---|---|
| public static StandardAllocationTypes valueOf(String name) | |
| values | back to summary |
|---|---|
| public static StandardAllocationTypes[] values() | |