org.hypergraphdb.handle
Interface HGLiveHandle

All Superinterfaces:
HGHandle
All Known Subinterfaces:
HGManagedLiveHandle
All Known Implementing Classes:
DefaultLiveHandle, DefaultManagedLiveHandle, PhantomHandle, PhantomManagedHandle

public interface HGLiveHandle
extends HGHandle

A LiveHandle represents an in memory handle to a HyperGraph atom. It holds references to both the runtime object instance of the atom and its persistent handle.

An application should never rely on a concrete HGLiveHandle implementation since it will depend on the exact caching/memory management policy adopted.

Author:
Borislav Iordanov

Method Summary
 byte getFlags()
           
 HGPersistentHandle getPersistentHandle()
           
 java.lang.Object getRef()
           
 

Method Detail

getFlags

byte getFlags()

getRef

java.lang.Object getRef()

getPersistentHandle

HGPersistentHandle getPersistentHandle()