org.hypergraphdb
Interface HGPersistentHandle

All Superinterfaces:
java.lang.Comparable<HGPersistentHandle>, HGHandle, java.io.Serializable
All Known Implementing Classes:
UUIDPersistentHandle

public interface HGPersistentHandle
extends HGHandle, java.io.Serializable, java.lang.Comparable<HGPersistentHandle>

A HGPersistentHandle is a HGHandle that survives system downtime. That is, a permanent handle will be valid between startup and shutdown of a HyperGraph based application.

A concrete implementation is garantueed to be a compact, serialiazable Java object that can be stored by the application using some other means and reused to refer to the same atom in subsequent runs of the same HyperGraph instance, or within a distributed environment.

Generally, plain HGHandle implementation are designed for fast, in-memory access whereas HGPersistentHandle are designed as a persistent, long-term reference.

Author:
Borislav Iordanov

Method Summary
 byte[] toByteArray()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

toByteArray

byte[] toByteArray()