public class PlatformMemoryManagerImpl extends Object implements PlatformMemoryManager
| Constructor and Description |
|---|
PlatformMemoryManagerImpl(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 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 Fabric : ver. 1.6.0 Release Date : May 18 2016