public class SafeMemory extends Memory implements SharedCloseable
Constructor and Description |
---|
SafeMemory(long size) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkBounds(long start,
long end) |
void |
close() |
SafeMemory |
copy(long newSize) |
void |
free() |
SafeMemory |
sharedCopy() |
public SafeMemory sharedCopy()
sharedCopy
in interface SharedCloseable
public void close()
public SafeMemory copy(long newSize)
@Inline protected void checkBounds(long start, long end)
checkBounds
in class Memory
Copyright © 2020 The Apache Software Foundation