com.mindoo.domino.jna.gc.IRecyclableNotesObject 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 C API objects that require manual releasing of their handle
*
* @author Karsten Lehmann
*/
public interface IRecyclableNotesObject {
/**
* Recycles the object, if not already done
*/
public void recycle();
/**
* Checks if this object has already been recycled
*
* @return true if recycled
*/
public boolean isRecycled();
/**
* Returns true if the object should not be auto recycled
*
* @return true to skip auto gc
*/
public boolean isNoRecycle();
/**
* Returns the main object handle for 32 bit, used to hash the object
*
* @return handle
*/
public int getHandle32();
/**
* Returns the main object handle for 64 bit, used to hash the object
*
* @return handle
*/
public long getHandle64();
}