public class PlatformMemoryManagerImpl extends Object implements PlatformMemoryManager
| Constructor and Description |
|---|
PlatformMemoryManagerImpl(@Nullable PlatformCallbackGateway gate,
int dfltCap)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PlatformMemory |
allocate()
Allocates memory.
|
PlatformMemory |
allocate(int cap)
Allocates memory having at least the given capacity.
|
PlatformMemory |
get(long memPtr)
Gets memory from existing pointer.
|
public PlatformMemoryManagerImpl(@Nullable
@Nullable PlatformCallbackGateway gate,
int dfltCap)
gate - Native gateway.dfltCap - Default memory chunk capacity.public PlatformMemory allocate()
allocate in interface PlatformMemoryManagerpublic PlatformMemory allocate(int cap)
allocate in interface PlatformMemoryManagercap - Minimum capacity.public PlatformMemory get(long memPtr)
get in interface PlatformMemoryManagermemPtr - Cross-platform memory pointer.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021