xerial.larray.buffer.Memory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of larray-buffer Show documentation
Show all versions of larray-buffer Show documentation
LArray off-heap buffer library
package xerial.larray.buffer;
import java.lang.ref.ReferenceQueue;
/**
* Allocated memory information
* @author Taro L. Saito
*/
public interface Memory {
/**
* Allocated memory address
* @return
*/
long headerAddress();
/**
* data-part address
* @return data address
*/
long address();
/**
* Allocated memory size
* @return
*/
long size();
/**
* data-part size
* @return
*/
long dataSize();
void release();
MemoryReference toRef(ReferenceQueue queue);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy