public interface PlatformMemory extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
int |
capacity()
Gets capacity.
|
void |
close()
Close memory releasing it.
|
long |
data()
Gets data pointer.
|
PlatformInputStream |
input()
Gets input stream.
|
int |
length()
Gets length.
|
PlatformOutputStream |
output()
Gets output stream.
|
long |
pointer()
Gets pointer which can be passed between platforms.
|
void |
reallocate(int cap)
Reallocate memory chunk.
|
PlatformInputStream input()
PlatformOutputStream output()
long pointer()
long data()
int capacity()
int length()
void reallocate(int cap)
cap
- Minimum capacity.void close()
close
in interface AutoCloseable
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017