
com.mindoo.domino.jna.gc.IAllocatedMemory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
package com.mindoo.domino.jna.gc;
/**
* Interface of memory allocated by/for the C API that requires manual releasing of its handle
*
* @author Karsten Lehmann
*/
public interface IAllocatedMemory {
/**
* Frees the memory, if not already done
*/
public void free();
/**
* Checks if this memory has already been freed
*
* @return true if freed
*/
public boolean isFreed();
/**
* Returns the main memory handle for 32 bit, used to hash the memory
*
* @return handle
*/
public int getHandle32();
/**
* Returns the main memory handle for 64 bit, used to hash the memory
*
* @return handle
*/
public long getHandle64();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy