Class PlatformPooledMemory
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.memory.PlatformAbstractMemory
-
- org.apache.ignite.internal.processors.platform.memory.PlatformPooledMemory
-
- All Implemented Interfaces:
AutoCloseable,PlatformMemory
public class PlatformPooledMemory extends PlatformAbstractMemory
Interop pooled memory chunk.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.platform.memory.PlatformAbstractMemory
memPtr
-
-
Constructor Summary
Constructors Constructor Description PlatformPooledMemory(PlatformMemoryPool pool, long memPtr)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close memory releasing it.voidreallocate(int cap)Reallocate memory chunk.
-
-
-
Constructor Detail
-
PlatformPooledMemory
public PlatformPooledMemory(PlatformMemoryPool pool, long memPtr)
Constructor.- Parameters:
pool- Owning memory pool.memPtr- Cross-platform memory pointer.
-
-